projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-cvsexportcommit.perl: fix typo
[git.git]
/
Documentation
/
git-branch.txt
diff --git
a/Documentation/git-branch.txt
b/Documentation/git-branch.txt
index
72fb2f8
..
d43ef1d
100644
(file)
--- a/
Documentation/git-branch.txt
+++ b/
Documentation/git-branch.txt
@@
-9,7
+9,7
@@
SYNOPSIS
--------
[verse]
'git-branch' [-r]
--------
[verse]
'git-branch' [-r]
-'git-branch' [-f] <branchname> [<start-point>]
+'git-branch' [-
l] [-
f] <branchname> [<start-point>]
'git-branch' (-d | -D) <branchname>...
DESCRIPTION
'git-branch' (-d | -D) <branchname>...
DESCRIPTION
@@
-23,7
+23,8
@@
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
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
OPTIONS
@@
-34,6
+35,11
@@
OPTIONS
-D::
Delete a branch irrespective of its index status.
-D::
Delete a branch irrespective of its index status.
+-l::
+ Create the branch's ref log. This activates recording of
+ all changes to made the branch ref, enabling use of date
+ based sha1 expressions such as "<branchname>@{yesterday}".
+
-f::
Force the creation of a new branch even if it means deleting
a branch that already exists with the same name.
-f::
Force the creation of a new branch even if it means deleting
a branch that already exists with the same name.
@@
-43,6
+49,9
@@
OPTIONS
<branchname>::
The name of the branch to create or delete.
<branchname>::
The name of the branch to create or delete.
+ The new branch name must pass all checks defined by
+ gitlink:git-check-ref-format[1]. Some of these checks
+ may restrict the characters allowed in a branch name.
<start-point>::
The new branch will be created with a HEAD equal to this. It may
<start-point>::
The new branch will be created with a HEAD equal to this. It may