Skip to content

Commit 8482d04

Browse files
moygitster
authored andcommitted
Documentation/branch: document -d --force and -m --force
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 356e91f commit 8482d04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/git-branch.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ OPTIONS
9595
--force::
9696
Reset <branchname> to <startpoint> if <branchname> exists
9797
already. Without `-f` 'git branch' refuses to change an existing branch.
98+
In combination with `-d` (or `--delete`), allow deleting the
99+
branch irrespective of its merged status. In combination with
100+
`-m` (or `--move`), allow renaming the branch even if the new
101+
branch name already exists.
98102

99103
-m::
100104
--move::

0 commit comments

Comments
 (0)