X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-branch-script.txt;h=3ace8adc8315d518fb2dcaeb72d833dadc7e2ac1;hb=06ec2b4bb4ab9096d1304ba5a2ec388078dcdf7f;hp=fe9a041950ef876c8157efbe77327e28759ec57f;hpb=7fc9d69fca0ea8afab6709622b694f31662fb2ee;p=git.git diff --git a/Documentation/git-branch-script.txt b/Documentation/git-branch-script.txt index fe9a0419..3ace8adc 100644 --- a/Documentation/git-branch-script.txt +++ b/Documentation/git-branch-script.txt @@ -3,26 +3,27 @@ git-branch-script(1) NAME ---- -git-branch-script - Some git command not yet documented. - +git-branch-script - Create a new branch. SYNOPSIS -------- -'git-branch-script' [ --option ] ... +'git-branch-script' [ [start-point]] DESCRIPTION ----------- -Does something not yet documented. +If no argument is provided, show available branches and mark current +branch with star. Otherwise, create a new branch of name . +If a starting point is also specified, that will be where the branch is +created, otherwise it will be created at the current HEAD. OPTIONS ------- ---option:: - Some option not yet documented. - -...:: - Some argument not yet documented. +:: + The name of the branch to create. +start-point:: + Where to make the branch; defaults to HEAD. Author ------