News for hackers. Stuff that matters.
Re:A Git catastrophe cleaned up by mnarayan01 on Wednesday December 21, 2016 @08:42AM (#13228967)
Unreachable references will be pruned after 30 days (by default) if/when git-gc gets run (which will occasionally happen automatically by default). Not saying it's a problem, just note that they're not actually there forever.
Re:A Git catastrophe cleaned up by lomnakkus on Wednesday December 21, 2016 @08:54AM (#13229066)
For reflog it's 90 days. (So anything referenced by the reflog will be retained for that long.)
Re:A Git catastrophe cleaned up by mnarayan01 on Wednesday December 21, 2016 @12:32PM (#13230895)
AFAICT, for unreachable entries (e.g. as generated by `git commit --amend`) the default is 30 days as defined by `gc.reflogExpireUnreachable`.
Re:A Git catastrophe cleaned up by gergoerdi on Friday December 23, 2016 @02:12AM (#13243383)
No, because those commits are still reachable from the reflog.