Re: newbie question

Previous thread: [PATCH] Update the documentation for git-merge-base by Fredrik Kuivinen on Monday, May 15, 2006 - 10:58 pm. (6 messages)

Next thread: [PATCH] CMIT_FMT_EMAIL: Q-encode Subject: and display-name part of From: fields. by Junio C Hamano on Tuesday, May 16, 2006 - 3:18 am. (2 messages)
From: Li Yang-r58472
Date: Tuesday, May 16, 2006 - 12:03 am

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?
-

From: Matthias Kestenholz
Date: Tuesday, May 16, 2006 - 12:09 am

Hello,


Do it like that:

$ ls
project.git
$ GIT_DIR=project.git git-repack -a -d


-

Previous thread: [PATCH] Update the documentation for git-merge-base by Fredrik Kuivinen on Monday, May 15, 2006 - 10:58 pm. (6 messages)

Next thread: [PATCH] CMIT_FMT_EMAIL: Q-encode Subject: and display-name part of From: fields. by Junio C Hamano on Tuesday, May 16, 2006 - 3:18 am. (2 messages)