summaryrefslogtreecommitdiffstats
path: root/git-branch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-01-19 16:49:42 -0800
committerJunio C Hamano <gitster@pobox.com>2024-01-19 16:49:42 -0800
commit8c9d882c5cb4c5f944e39cbd841838f8e45e31f6 (patch)
treecfb968f65d138ac3652a61e80aa324d5e017f742 /git-branch.txt
parentba62bfc4a47119194812fad9200d5fac5a5c15f2 (diff)
downloadgit-htmldocs-8c9d882c5cb4c5f944e39cbd841838f8e45e31f6.tar.gz
Autogenerated HTML docs for v2.43.0-386-ge02ecfc
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