git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: newbie question

From
MKMatthias Kestenholz <lists@spinlock.ch>
Date
May 16, 2006, 07:09 UTC
Message-ID
<20060516070915.GA4680@spinlock.ch>
In-Reply-To
<9FCDBA58F226D911B202000BDBAD467308146E@zch01exm40.ap.freescale.net>
Hello,
* Li Yang-r58472 (LeoLi@freescale.com) wrote:
Show 7 quoted lines
> 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

Previous: Li Yang-r58472
Message 2 of 2 in “newbie question”
  1. Li Yang-r58472May 16, 2006
  2. Matthias KestenholzMay 16, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.