diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index 9a396498d106e1f3ff581d465c072d90686f8c21..8c3d4128c2871274967cd30029e2390e48d0dcc1 100644 --- a/Documentation/git-checkout.txt +++ b/Documentation/git-checkout.txt @@ -289,7 +289,7 @@ section of linkgit:git-add[1] to learn how to operate the `--patch` mode. + You can use the `"@{-N}"` syntax to refer to the N-th last branch/commit checked out using "git checkout" operation. You may -also specify `-` which is synonymous to `"@{-1}`. +also specify `-` which is synonymous to `"@{-1}"`. + As a special case, you may use `"A...B"` as a shortcut for the merge base of `A` and `B` if there is exactly one merge base. You can