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

Re: Limiting disk usage

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Oct 29, 2013, 08:21 UTC
Message-ID
<vpqob68ebcu.fsf@anie.imag.fr>
In-Reply-To
<0a4899b7-f75f-4016-9c99-5e6e3fb9603c@email.android.com>
Piotr Krukowiecki <piotr.krukowiecki@gmail.com> writes:
Show 5 quoted lines
> Hi, 
>
> What can be done to limit amount of space occupied on clone and
> checkout? I know about shallow clone and sparse checkout, anything
> else?

Sorry if I'm stating the obvious, but "git gc" is a good start. If you did something wrong with your repo before, maybe "git gc --aggressive" can help.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Piotr KrukowieckiNext: Piotr Krukowiecki
Message 2 of 7 in “Limiting disk usage”
  1. Piotr KrukowieckiOct 29, 2013
  2. Matthieu MoyOct 29, 2013
  3. Piotr KrukowieckiOct 29, 2013
  4. Jakub NarębskiOct 29, 2013
  5. Piotr KrukowieckiOct 30, 2013
  6. Jakub NarębskiOct 30, 2013
  7. Fredrik GustafssonOct 30, 2013

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.