Alright, maybe I'm asking the wrong question. I've got a commit that is still there, that is garbage, but no longer shows up in "gitk --all" (it's from earlier today, actually).
I thought that git refused to garbage collect dead commits for at least two weeks (from reading the git-gc man page); why is it disappearing so quickly? Or, perhaps a better question: How can I hide something that I don't want to see from things like "gitk --all"? On 2015-09-15, at 8:23 PM, Alexandru Pătrănescu <[email protected]> wrote: > Hi Michael, > > They are only locally but if you really care about removing them: > git gc > > Alex > > On Wed, Sep 16, 2015 at 2:53 AM, Michael <[email protected]> wrote: > What is the best way to clean up a dead commit? > > I have used git reset to rewind the branches. > I know that the commit in question is "dead". > I know that it will eventually get cleaned up automatically. > > How can I speed that up, and manually clean it up? > > --- > Entertaining minecraft videos > http://YouTube.com/keybounce > > -- > You received this message because you are subscribed to the Google Groups > "Git for human beings" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "Git for human beings" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. --- Entertaining minecraft videos http://YouTube.com/keybounce -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
