From: "Russ Dill" <russ.dill@gmail.com>
To: "Haakon Riiser" <haakon.riiser@fys.uio.no>
Cc: git@vger.kernel.org
Subject: Re: Cleaning the .git directory with gc
Date: Wed, 23 Apr 2008 17:09:40 -0700 [thread overview]
Message-ID: <f9d2a5e10804231709v1d7e426fwf68b3d316a15081a@mail.gmail.com> (raw)
In-Reply-To: <20080423231359.GA30913@fox>
On Wed, Apr 23, 2008 at 4:13 PM, Haakon Riiser <haakon.riiser@fys.uio.no> wrote:
> I've recently started using git, and while experimenting with
> git commit --amend, I noticed that git gc does not do what I
> expected. Example:
Thats a lot of work without first reading the man page:
--prune
Usually git-gc packs refs, expires old reflog entries, packs loose
objects, and removes old rerere records. Removal of unreferenced
loose objects is an unsafe operation while other git operations are
in progress, so it is not done by default. Pass this option if you
want it, and only when you know nobody else is creating new objects
in the repository at the same time (e.g. never use this option in a
cron script).
next prev parent reply other threads:[~2008-04-24 0:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-23 23:13 Cleaning the .git directory with gc Haakon Riiser
2008-04-24 0:09 ` Russ Dill [this message]
2008-04-24 0:32 ` David Tweed
2008-04-24 0:57 ` Shawn O. Pearce
2008-04-24 0:50 ` Shawn O. Pearce
2008-04-24 21:14 ` Haakon Riiser
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=f9d2a5e10804231709v1d7e426fwf68b3d316a15081a@mail.gmail.com \
--to=russ.dill@gmail.com \
--cc=git@vger.kernel.org \
--cc=haakon.riiser@fys.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).