diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-01-19 15:04:45 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-01-19 15:04:45 -0800 |
| commit | 5d1ee0749bb857776789dead29f7d98802771c77 (patch) | |
| tree | b8cbfdef42329a6b9fdaa037ebdbc763a74458b6 | |
| parent | Merge branch 'ps/gitlab-ci-static-analysis' (diff) | |
| parent | branch: clarify <oldbranch> term (diff) | |
| download | git-5d1ee0749bb857776789dead29f7d98802771c77.tar.gz git-5d1ee0749bb857776789dead29f7d98802771c77.zip | |
Merge branch 'rj/clarify-branch-doc-m'
Doc update.
* rj/clarify-branch-doc-m:
branch: clarify <oldbranch> term
| -rw-r--r-- | Documentation/git-branch.txt | 3 |
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 |
