]> git.ipfire.org Git - thirdparty/git.git/commit
branch: clarify <oldbranch> term
authorRubén Justo <rjusto@gmail.com>
Sat, 6 Jan 2024 14:38:37 +0000 (15:38 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Jan 2024 18:06:05 +0000 (10:06 -0800)
commit5aea3955bcd716c5dcb3323ef4eab72da70db623
tree74236ad6f22d80db0dc7638f20b2b27bc209b7e5
parent564d0252ca632e0264ed670534a51d18a689ef5d
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>
Documentation/git-branch.txt