X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-branch.html;h=f835657dd660ab6c5c69963404f51df97918915b;hb=f0a85daaf3d624dcf841cad8d5d243e6da55ea70;hp=ad5596a110ca13ff1e0bf277301a55b74c4c53f6;hpb=c8d88c2181b2e1675c5057ec9446be2f6f7529b3;p=git.git diff --git a/git-branch.html b/git-branch.html index ad5596a1..f835657d 100644 --- a/git-branch.html +++ b/git-branch.html @@ -274,7 +274,7 @@ git-branch(1) Manual Page
git-branch [-r] -git-branch [-f] <branchname> [<start-point>] +git-branch [-l] [-f] <branchname> [<start-point>] git-branch (-d | -D) <branchname>…

DESCRIPTION

@@ -286,7 +286,8 @@ It will start out with a head equal to the one given as <start-point>. If no <start-point> is given, the branch will be created with a head equal to that of the currently checked out branch.

With a -d or -D option, <branchname> will be deleted. You may -specify more than one branch for deletion.

+specify more than one branch for deletion. If the branch currently +has a ref log then the ref log will also be deleted.

OPTIONS

@@ -308,6 +309,15 @@ specify more than one branch for deletion.

+-l +
+
+

+ Create the branch's ref log. This activates recording of + all changes to made the branch ref, enabling use of date +

+
+
-f
@@ -330,6 +340,9 @@ specify more than one branch for deletion.

The name of the branch to create or delete. + The new branch name must pass all checks defined by + git-check-ref-format(1). Some of these checks + may restrict the characters allowed in a branch name.

@@ -408,7 +421,7 @@ a branch and check it out with a single command.