Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Documentation/branch: document -d --force and -m --force
author
Matthieu Moy
<Matthieu.Moy@imag.fr>
Thu, 2 Jul 2015 14:07:20 +0000
(16:07 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 6 Jul 2015 17:36:51 +0000
(10:36 -0700)
The --force option was modified in
356e91f
(branch: allow -f with -m and
-d, 2014-12-08), but the documentation was not updated.
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-branch.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
356e91f
)
diff --git
a/Documentation/git-branch.txt
b/Documentation/git-branch.txt
index 311b33674eb2bda2c8e0bd5d2de4499a156b1719..d5ff57ced1c64b1bb07870d48724f81de8b14b9f 100644
(file)
--- a/
Documentation/git-branch.txt
+++ b/
Documentation/git-branch.txt
@@
-95,6
+95,10
@@
OPTIONS
--force::
Reset <branchname> to <startpoint> if <branchname> exists
already. Without `-f` 'git branch' refuses to change an existing branch.
+ In combination with `-d` (or `--delete`), allow deleting the
+ branch irrespective of its merged status. In combination with
+ `-m` (or `--move`), allow renaming the branch even if the new
+ branch name already exists.
-m::
--move::