RE: Is there any plan to support partial checkout or submoudule improvement?
- From
- franky <yinping@kooxoo.com>
- Date
- Oct 16, 2007, 08:27 UTC
- Message-ID
- <20071016082720.E5EDA7E6F@mail.kooxoo.com>
- In-Reply-To
- <8c5c35580710160108s4faeaa61k7585d01703c0c8fc@mail.gmail.com>
It works. However, I want a single "git-pull" to deploy a new version and a single "git-reset" to back to versions before. So I need another resolution.
franky
-----Original Message----- From: git-owner@vger.kernel.org [mailto:git-owner@vger.kernel.org] On Behalf Of Lars Hjemli Sent: Tuesday, October 16, 2007 4:08 PM To: franky Cc: git@vger.kernel.org Subject: Re: Is there any plan to support partial checkout or submoudule improvement?
On 10/16/07, franky <yinping@kooxoo.com> wrote:
> 2. src, bin not submoudle, just sub directory > When src changes, compiled binaries are still put in bin
directory.
> However, only one commit is required. Perfect? No, another problem when > deploying. I don't want the src directory to appear in the deployment > directory.
If this is just for deployment of your bin directory, you can try
$ cd Project/bin $ git archive --prefix='Project/bin/' HEAD | gzip > Project-x.y.tar.gz
-- larsh