From: Matthias Kestenholz Date: Tue, 16 May 2006 07:09:15 GMT Subject: Re: newbie question Message-ID: <20060516070915.GA4680@spinlock.ch> In-Reply-To: <9FCDBA58F226D911B202000BDBAD467308146E@zch01exm40.ap.freescale.net> Hello, * Li Yang-r58472 (LeoLi@freescale.com) wrote: > I just starting to use git recently. I have setup a public repository, > and pushed cloned open source repository to it. As most documents > suggested, I need to run a repack on the public repository. Normally > git-repack is run in the source directory(the parent directory of .git). > Considering the public repository, there is no source directory and the > *.git is the uppest level directory. Where am I supposed to run the > git-repack command? Do it like that: $ ls project.git $ GIT_DIR=project.git git-repack -a -d