aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-branch.txt
diff options
context:
space:
mode:
authorFredrik Kuivinen <freku045@student.liu.se>2006-01-29 15:02:51 +0100
committerJunio C Hamano <junkio@cox.net>2006-01-29 15:00:46 -0800
commit075dd8ee5417899c9f41b90f0dceecdf85433468 (patch)
tree2dc2cb7f68a4cc447664e90c494e06b222d9f546 /Documentation/git-branch.txt
parent4353f386166d74fd96cb552900fc22f6df211c21 (diff)
downloadgit-075dd8ee5417899c9f41b90f0dceecdf85433468.tar.gz
git-075dd8ee5417899c9f41b90f0dceecdf85433468.tar.xz
git-branch: Documentation fixes
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-branch.txt')
-rw-r--r--Documentation/git-branch.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index d20b47573..b1bc8272e 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -7,7 +7,7 @@ git-branch - Create a new branch, or remove an old one.
SYNOPSIS
--------
-'git-branch' [-d | -D] [<branchname> [start-point]]
+'git-branch' [(-d | -D) <branchname>] | [[-f] <branchname> [<start-point>]]
DESCRIPTION
-----------
@@ -25,10 +25,13 @@ OPTIONS
-D::
Delete a branch irrespective of its index status.
+-f::
+ Force a reset of <branchname> to <start-point> (or current head).
+
<branchname>::
The name of the branch to create or delete.
-start-point::
+<start-point>::
Where to create the branch; defaults to HEAD. This
option has no meaning with -d and -D.