@matheusbsbs / matheus-bagliano / commits / fcfdf797db
Fork 0

git-branch.txt: document -f correctly

'git branch -f a b' resets a to b when a exists, rather then deleting a. Say so in the documentation. Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Michael J Gruber committed Mar 17, 2009 at 15:06 UTC fcfdf797db015e13623645c0be049db679d5daaa
1 file changed +2 -2
Documentation/git-branch.txt
+2 -2
@@ -76,8 +76,8 @@ OPTIONS
76 based sha1 expressions such as "<branchname>@\{yesterday}".
77
78 -f::
79 - Force the creation of a new branch even if it means deleting
80 - a branch that already exists with the same name.
79 + Reset <branchname> to <startpoint> if <branchname> exists
80 + already. Without `-f` 'git-branch' refuses to change an existing branch.
81
82 -m::
83 Move/rename a branch and the corresponding reflog.