2 ms·
> git will never delete a commit, unless it is old (like 30 days old or older I think?) and is not part of a branch. Yeah, completely unreachable commits have
by dahart 8y ago
> git will never delete a commit, unless it is old (like 30 days old or older I think?) and is not part of a branch.
Yeah, completely unreachable commits have 30 days, even when you run git gc. The default reflog for a branch is even longer: 90 days!
https://git-scm.com/docs/git-gc https://git-scm.com/docs/git-gc