git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Documentation/branch: document -d --force and -m --force
@ 2015-07-02 14:07 Matthieu Moy
  2015-07-02 14:07 ` [PATCH 2/2] Documentation/branch: document -M and -D in terms of --force Matthieu Moy
  0 siblings, 1 reply; 2+ messages in thread
From: Matthieu Moy @ 2015-07-02 14:07 UTC (permalink / raw)
  To: gitster; +Cc: git, Matthieu Moy

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>
---
 Documentation/git-branch.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index 359619b..b2e7963 100644
--- 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::
-- 
2.5.0.rc0.7.ge1edd74.dirty

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-02 14:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-02 14:07 [PATCH 1/2] Documentation/branch: document -d --force and -m --force Matthieu Moy
2015-07-02 14:07 ` [PATCH 2/2] Documentation/branch: document -M and -D in terms of --force Matthieu Moy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).