Git development
 help / color / mirror / Atom feed
From: Eric Wong <e@80x24.org>
To: Steve Keller <keller.steve@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: How do I get rid of unneeded objects?
Date: Fri, 18 Jan 2019 22:40:55 +0000	[thread overview]
Message-ID: <20190118224055.zpsz63b3gaxtwscu@dcvr> (raw)
In-Reply-To: <trinity-02f2f7de-850d-4ad6-b709-86b7914cd81f-1547818792471@3c-app-gmx-bs22>

Steve Keller <keller.steve@gmx.de> wrote:
>     $ git reflog expire --all

I've never used "git reflog" directly, but I think you need to
add "--expire=all" to cover all time.  "--all" is only for all
branches, so you need "--expire=<time>" is for a time range.

Fwiw, I use a single command:

	git -c gc.reflogExpire=now gc --prune=all

  reply	other threads:[~2019-01-18 22:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-18 13:39 How do I get rid of unneeded objects? Steve Keller
2019-01-18 22:40 ` Eric Wong [this message]
2019-01-19  7:38   ` Kevin Daudt

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=20190118224055.zpsz63b3gaxtwscu@dcvr \
    --to=e@80x24.org \
    --cc=git@vger.kernel.org \
    --cc=keller.steve@gmx.de \
    /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