Quote from the Git documentation:

<branch>

When this parameter names a non-branch (but still a valid commit object), your HEAD becomes detached.
Junio C. Hamano — the checkout documentation

Git — the only SCM that beheads its users.

2 Responses to “Git is a dangerous tool to use”

  1. Alex Riesen says:

    Its Junio, not Linus. See commit 5e1a2e8c61b31410fd0. Fine quote, though :)

  2. webmat says:

    Thanks for the pointer, I fixed the quote ;-)

Sorry, the comment form is closed at this time.