]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-checkout.txt
branch: make create_branch accept a merge base rev
[thirdparty/git.git] / Documentation / git-checkout.txt
index 8c3d4128c2871274967cd30029e2390e48d0dcc1..d32f2eb611fe894dc4d99895fbab9527255d23c9 100644 (file)
@@ -301,6 +301,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,