branch doc: sprinkle a few commas for readability
The "--force" option can also be used when the named branch does not yet exist, and the point of the option is the user can (re)point the branch to the named commit even if it does. Add 'even' before 'if' to clarify. Also, insert another comma after "Without -f" before "the command refuses..." to make the text easier to parse. Incidentally, this change should help certain versions of docbook-xsl-stylesheets that render the original without any whitespace between "-f" and "git". Noticed-by: Lars Schneider <larsxschneider@gmail.com> Helped-by: Jeff King <peff@peff.net> Helped-by: Andreas Schwab <schwab@suse.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Oct 18, 2017 at 11:34 UTC
e61cb19a2782f31ecad59b64f4a4fd40e23759b4
1 file changed
+2
-2
Documentation/git-branch.txt
+2
-2
@@ -99,8 +99,8 @@ OPTIONS
99
100
-f::
101
--force::
102
- Reset <branchname> to <startpoint> if <branchname> exists
103
- already. Without `-f` 'git branch' refuses to change an existing branch.
102
+ Reset <branchname> to <startpoint>, even if <branchname> exists
103
+ already. Without `-f`, 'git branch' refuses to change an existing branch.
104
In combination with `-d` (or `--delete`), allow deleting the
105
branch irrespective of its merged status. In combination with
106
`-m` (or `--move`), allow renaming the branch even if the new