File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ OPTIONS
81
81
`--track` or `--set-upstream`.
82
82
83
83
-D::
84
- Delete a branch irrespective of its merged status .
84
+ Shortcut for `--delete --force` .
85
85
86
86
-l::
87
87
--create-reflog::
@@ -95,13 +95,17 @@ OPTIONS
95
95
--force::
96
96
Reset <branchname> to <startpoint> if <branchname> exists
97
97
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.
98
102
99
103
-m::
100
104
--move::
101
105
Move/rename a branch and the corresponding reflog.
102
106
103
107
-M::
104
- Move/rename a branch even if the new branch name already exists .
108
+ Shortcut for `--move --force` .
105
109
106
110
--color[=<when>]::
107
111
Color branches to highlight current, local, and
You can’t perform that action at this time.
0 commit comments