Documentation: @{-N} can refer to a commit
[gitweb.git] / Documentation / git-checkout.txt
index 91294f89c89dbbfef93bbb7f38074827938f48f6..33ad2adf5ce86119e55f94fa1d29233e8caf4a67 100644 (file)
@@ -232,8 +232,8 @@ section of linkgit:git-add[1] to learn how to operate the `--patch` mode.
        commit, your HEAD becomes "detached" and you are no longer on
        any branch (see below for details).
 +
-As a special case, the `"@{-N}"` syntax for the N-th last branch
-checks out the branch (instead of detaching).  You may also specify
+As a special case, the `"@{-N}"` syntax for the N-th last branch/commit
+checks out branches (instead of detaching).  You may also specify
 `-` which is synonymous with `"@{-1}"`.
 +
 As a further special case, you may use `"A...B"` as a shortcut for the