summaryrefslogtreecommitdiffstats
path: root/git-branch.txt
diff options
context:
space:
mode:
Diffstat (limited to 'git-branch.txt')
-rw-r--r--git-branch.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-branch.txt b/git-branch.txt
index 4395aa935..0b0844293 100644
--- a/git-branch.txt
+++ b/git-branch.txt
@@ -312,7 +312,8 @@ superproject's "origin/main", but tracks the submodule's "origin/main".
option is omitted, the current HEAD will be used instead.
<oldbranch>::
- The name of an existing branch to rename.
+ The name of an existing branch. If this option is omitted,
+ the name of the current branch will be used instead.
<newbranch>::
The new name for an existing branch. The same restrictions as for