summaryrefslogtreecommitdiffstats
path: root/git-checkout.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-05-19 18:01:19 +0900
committerJunio C Hamano <gitster@pobox.com>2019-05-19 18:01:19 +0900
commit56d696ee5be4d6ce871726df6e396c76eedcccf0 (patch)
tree5fdbf981967be28ae958f476b0b6d9b4343fd146 /git-checkout.txt
parent792b6092433e1d94ae2e4b9e83a333bf2d0425a2 (diff)
downloadgit-htmldocs-56d696ee5be4d6ce871726df6e396c76eedcccf0.tar.gz
Autogenerated HTML docs for v2.22.0-rc1
Diffstat (limited to 'git-checkout.txt')
-rw-r--r--git-checkout.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-checkout.txt b/git-checkout.txt
index 877e5f503..964f912d2 100644
--- a/git-checkout.txt
+++ b/git-checkout.txt
@@ -313,6 +313,10 @@ leave out at most one of `A` and `B`, in which case it defaults to `HEAD`.
<start_point>::
The name of a commit at which to start the new branch; see
linkgit:git-branch[1] for details. Defaults to HEAD.
++
+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
+leave out at most one of `A` and `B`, in which case it defaults to `HEAD`.
<tree-ish>::
Tree to checkout from (when paths are given). If not specified,