@matheusbsbs / matheus-bagliano / commits / 075dd8ee54
Fork 0

git-branch: Documentation fixes

Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>

Fredrik Kuivinen committed Jan 29, 2006 at 15:02 UTC 075dd8ee5417899c9f41b90f0dceecdf85433468
2 files changed +6 -3
Documentation/git-branch.txt
+5 -2
@@ -7,7 +7,7 @@ git-branch - Create a new branch, or remove an old one.
7
8 SYNOPSIS
9 --------
10 -'git-branch' [-d | -D] [<branchname> [start-point]]
10 +'git-branch' [(-d | -D) <branchname>] | [[-f] <branchname> [<start-point>]]
11
12 DESCRIPTION
13 -----------
@@ -25,10 +25,13 @@ OPTIONS
25 -D::
26 Delete a branch irrespective of its index status.
27
28 +-f::
29 + Force a reset of <branchname> to <start-point> (or current head).
30 +
31 <branchname>::
32 The name of the branch to create or delete.
33
31 -start-point::
34 +<start-point>::
35 Where to create the branch; defaults to HEAD. This
36 option has no meaning with -d and -D.
37
git-branch.sh
+1 -1
@@ -1,6 +1,6 @@
1 #!/bin/sh
2
3 -USAGE='[-d <branch>] | [[-f] <branch> [start-point]]'
3 +USAGE='[(-d | -D) <branchname>] | [[-f] <branchname> [<start-point>]]'
4 LONG_USAGE='If no arguments, show available branches and mark current branch with a star.
5 If one argument, create a new branch <branchname> based off of current HEAD.
6 If two arguments, create a new branch <branchname> based off of <start-point>.'