Andreas Ericsson <ae@xxxxxx> writes: > However, just now I made a doodoo and need to recover a lost branch-head, > so git lost-found to the rescue. Or so I thought... It turns out that since > I've packed the unreachable refs, they haven't been pruned, and I can't > for the life of me figure out how to get rid of them. Most likely they are still pointed to by the reflog. By default, git-gc will expire the reflog after 90 days, and these reference will then actually be pruned. That's really usefull to allow you to recover your work with "git checkout HEAD@{whatever}" even after a mistake and a git-gc, but you pay it in terms of disk-space. One alternative is to expire your reflog explicitely. -- Matthieu - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html