Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-01-20 02:04:45 +0300
committerJunio C Hamano <gitster@pobox.com>2024-01-20 02:04:45 +0300
commit5d1ee0749bb857776789dead29f7d98802771c77 (patch)
treeb8cbfdef42329a6b9fdaa037ebdbc763a74458b6
parent95a9cfbb8309b5ecae4a625d21b662d0d9acc41a (diff)
parent5aea3955bcd716c5dcb3323ef4eab72da70db623 (diff)
Merge branch 'rj/clarify-branch-doc-m'
Doc update. * rj/clarify-branch-doc-m: branch: clarify <oldbranch> term
-rw-r--r--Documentation/git-branch.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index 4395aa9354..0b08442932 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/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