On Fri, Dec 10, 2010 at 11:14 AM, Konstantin Khomoutov
> The idea is that the "HEAD" is a distinguished reference, which is
> used to point to the commit object on which the work tree is based,
> and it has no inherent relation to the notion of the "current branch".
Actually .git/HEAD is exactly where git stores the notion of the "curent branch"
if it contains something like
Then the current branch is master
If it just contains a sha then HEAD is detached and there IS no current branch.
Which was my point.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at