summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2015-07-02 14:07:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-07-06 17:36:54 (GMT)
commit83fe16703e3f5c39078db11449fd43f24a8f32f0 (patch)
tree3fbc70a5edace27e256f4d62ea5c207d4b32be67 /Documentation
parent8482d042a016aaae1e564f9c34b4d5f6b59794be (diff)
downloadgit-83fe16703e3f5c39078db11449fd43f24a8f32f0.zip
git-83fe16703e3f5c39078db11449fd43f24a8f32f0.tar.gz
git-83fe16703e3f5c39078db11449fd43f24a8f32f0.tar.bz2
Documentation/branch: document -M and -D in terms of --force
Now that we have proper documentation for --force's interaction with -d and -m, we can avoid duplication and consider -M and -D as convenience aliases for -m --force and -d --force. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-branch.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index d5ff57c..ef78464 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -81,7 +81,7 @@ OPTIONS
`--track` or `--set-upstream`.
-D::
- Delete a branch irrespective of its merged status.
+ Shortcut for `--delete --force`.
-l::
--create-reflog::
@@ -105,7 +105,7 @@ OPTIONS
Move/rename a branch and the corresponding reflog.
-M::
- Move/rename a branch even if the new branch name already exists.
+ Shortcut for `--move --force`.
--color[=<when>]::
Color branches to highlight current, local, and