Re: How do I get rid of unneeded objects?
- From
- Eric Wong <e@80x24.org>
- Date
- Jan 18, 2019, 22:40 UTC
- Message-ID
- <20190118224055.zpsz63b3gaxtwscu@dcvr>
- 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