Rod McLaughlin

What to do when Git decapitates you (28 dec 13)

Sometimes, Git says you are in 'detached head mode'.

A good explanation of this is here:

It's confusing

You might be working on

branch 'foo'
tag 'bar'
and/or commit caaaf44 in detached head mode

In Scott Chacon's free online Git book, on page 157, is a more comprehensive explanation of detached head:

P.S. Buy the print edition. Scott is a great guy who explained Git at the Rails conference in 2008, and subsequently gave me free online help:

Portland London