On Mon, 08 Jan 2007 16:19:28 -0800, Junio C Hamano wrote:
So what's the final check? Is it "can come from detached HEAD to a
branch only if the detached HEAD is reachable from the target branch"?
If so, that's still a trap for people who are just exploring with "git
checkout" and never make any commits while detached.
You would probably do this, yes, but is it what you would recommend
in a tutorial for new users doing read-only exploration of old
versions of some piece of software? One of the main reasons I'm
interested in the "detached head" stuff is so that such users can use
"git checkout" to explore any revision and never have to worry about
doing anything "wrong", (never leave any commits dangling), nor ever
have to see any "scary" message, (ie. "use checkout -f if you know
what you are doing").
-Carl
PS. Thanks for giving detached head some attention---I'm chronically
inept at getting into actual git development like I'd really like to.