mirror of
https://github.com/git/git.git
synced 2024-05-05 11:46:10 +02:00
branch: clarify <oldbranch> term
Since 52d59cc645
(branch: add a --copy (-c) option to go with --move
(-m), 2017-06-18) <oldbranch> is used in more operations than just -m.
Let's also clarify what we do if <oldbranch> is omitted.
Signed-off-by: Rubén Justo <rjusto@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
564d0252ca
commit
5aea3955bc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue