Skip to content

Commit 5d1ee07

Browse files
committed
Merge branch 'rj/clarify-branch-doc-m'
Doc update. * rj/clarify-branch-doc-m: branch: clarify <oldbranch> term
2 parents 95a9cfb + 5aea395 commit 5d1ee07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/git-branch.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ superproject's "origin/main", but tracks the submodule's "origin/main".
312312
option is omitted, the current HEAD will be used instead.
313313

314314
<oldbranch>::
315-
The name of an existing branch to rename.
315+
The name of an existing branch. If this option is omitted,
316+
the name of the current branch will be used instead.
316317

317318
<newbranch>::
318319
The new name for an existing branch. The same restrictions as for

0 commit comments

Comments
 (0)