I've asked the question in detail in Stack Overflow: http://stackoverflow.com/questions/3163325/confusion-about-git-checkout Even if there is no bug in the git behavior, I think the documentation should be more clear. -- Sabyasachi -- 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