summaryrefslogtreecommitdiffstats
path: root/git-branch.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-branch.txt
parent792b6092433e1d94ae2e4b9e83a333bf2d0425a2 (diff)
downloadgit-htmldocs-56d696ee5be4d6ce871726df6e396c76eedcccf0.tar.gz
Autogenerated HTML docs for v2.22.0-rc1
Diffstat (limited to 'git-branch.txt')
-rw-r--r--git-branch.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/git-branch.txt b/git-branch.txt
index 0cd87ddef..6ebd512b4 100644
--- a/git-branch.txt
+++ b/git-branch.txt
@@ -45,7 +45,11 @@ argument is missing it defaults to `HEAD` (i.e. the tip of the current
branch).
The command's second form creates a new branch head named <branchname>
-which points to the current `HEAD`, or <start-point> if given.
+which points to the current `HEAD`, or <start-point> if given. As a
+special case, for <start-point>, 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`.
Note that this will create the new branch, but it will not switch the
working tree to it; use "git checkout <newbranch>" to switch to the