All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Daudt <me@ikke.info>
To: Eric Wong <e@80x24.org>
Cc: Steve Keller <keller.steve@gmx.de>, git@vger.kernel.org
Subject: Re: How do I get rid of unneeded objects?
Date: Sat, 19 Jan 2019 08:38:08 +0100	[thread overview]
Message-ID: <20190119073808.GA14639@alpha> (raw)
In-Reply-To: <20190118224055.zpsz63b3gaxtwscu@dcvr>

On Fri, Jan 18, 2019 at 10:40:55PM +0000, Eric Wong wrote:
> 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

Instead of --expire, you could also use --expire-unreachable, so that
you don't get rid of your entire reflog.

      reply	other threads:[~2019-01-19  7:45 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
2019-01-19  7:38   ` Kevin Daudt [this message]

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=20190119073808.GA14639@alpha \
    --to=me@ikke.info \
    --cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.