public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@grenoble-inp•fr>
To: Piotr Krukowiecki <piotr.krukowiecki@gmail•com>
Cc: Git Mailing List <git@vger•kernel.org>
Subject: Re: Limiting disk usage
Date: Tue, 29 Oct 2013 09:21:21 +0100	[thread overview]
Message-ID: <vpqob68ebcu.fsf@anie.imag.fr> (raw)
In-Reply-To: <0a4899b7-f75f-4016-9c99-5e6e3fb9603c@email.android.com> (Piotr Krukowiecki's message of "Tue, 29 Oct 2013 07:22:51 +0100")

Piotr Krukowiecki <piotr.krukowiecki@gmail•com> writes:

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

  reply	other threads:[~2013-10-29  8:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-29  6:22 Limiting disk usage Piotr Krukowiecki
2013-10-29  8:21 ` Matthieu Moy [this message]
2013-10-29 13:50   ` Piotr Krukowiecki
2013-10-29 14:45     ` Jakub Narębski
2013-10-30  7:44       ` Piotr Krukowiecki
2013-10-30 15:39         ` Jakub Narębski
2013-10-30 15:40           ` Fredrik Gustafsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vpqob68ebcu.fsf@anie.imag.fr \
    --to=matthieu.moy@grenoble-inp$(echo .)fr \
    --cc=git@vger$(echo .)kernel.org \
    --cc=piotr.krukowiecki@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox