{"thread":{"id":"3174","subject":"[PATCH] git-branch: Documentation fixes","startedAt":"2006-01-29T14:02:51Z","lastAt":"2006-01-29T14:02:51Z","messageCount":1,"participants":["Fredrik Kuivinen"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"15201","messageId":"20060129140251.GD4815@c165.ib.student.liu.se","threadId":"3174","inReplyTo":null,"subject":"[PATCH] git-branch: Documentation fixes","fromName":"Fredrik Kuivinen","fromEmail":"freku045@student.liu.se","sentAt":"2006-01-29T14:02:51Z","receivedAt":"2006-01-29T14:02:51Z","isPatch":true,"sender":{"key":"frekui@gmail.com","avatar":"https://avatars.githubusercontent.com/u/13770967?v=4"},"body":"Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>\n\n\n---\n\n Documentation/git-branch.txt |    7 +++++--\n git-branch.sh                |    2 +-\n 2 files changed, 6 insertions(+), 3 deletions(-)\n\nfb625f143454671bfa6862ee83fbe9cdbac9af0b\ndiff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt\nindex d20b475..b1bc827 100644\n--- a/Documentation/git-branch.txt\n+++ b/Documentation/git-branch.txt\n@@ -7,7 +7,7 @@ git-branch - Create a new branch, or rem\n \n SYNOPSIS\n --------\n-'git-branch' [-d | -D] [<branchname> [start-point]]\n+'git-branch' [(-d | -D) <branchname>] | [[-f] <branchname> [<start-point>]]\n \n DESCRIPTION\n -----------\n@@ -25,10 +25,13 @@ OPTIONS\n -D::\n \tDelete a branch irrespective of its index status.\n \n+-f::\n+\tForce a reset of <branchname> to <start-point> (or current head).\n+\n <branchname>::\n \tThe name of the branch to create or delete.\n \n-start-point::\n+<start-point>::\n \tWhere to create the branch; defaults to HEAD. This\n \toption has no meaning with -d and -D.\n \ndiff --git a/git-branch.sh b/git-branch.sh\nindex b0e54ed..6ac961e 100755\n--- a/git-branch.sh\n+++ b/git-branch.sh\n@@ -1,6 +1,6 @@\n #!/bin/sh\n \n-USAGE='[-d <branch>] | [[-f] <branch> [start-point]]'\n+USAGE='[(-d | -D) <branchname>] | [[-f] <branchname> [<start-point>]]'\n LONG_USAGE='If no arguments, show available branches and mark current branch with a star.\n If one argument, create a new branch <branchname> based off of current HEAD.\n If two arguments, create a new branch <branchname> based off of <start-point>.'\n-- \n0.99.9k.g3480-dirty\n"}]}