News for hackers. Stuff that matters.
Re:A List Apart: Get started with Git by eru on Tuesday November 02, 2010 @09:06PM (#1863149)
Just don't do a GC, while you have dangling commits.
Re:A List Apart: Get started with Git by jrockway on Tuesday November 02, 2010 @09:33PM (#1863226)
You're fine as long as the detached head is newer than two weeks old. (And you might be fine past that point. While the branch is "unnamed" it does have a ref in the reflog pointing at it.)