summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8824689)
raw | patch | inline | side by side (parent: 8824689)
author | Shawn Pearce <spearce@spearce.org> | |
Sun, 21 May 2006 01:54:46 +0000 (21:54 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 21 May 2006 09:05:41 +0000 (02:05 -0700) |
Its nice to have git-check-ref-format actually get mentioned in
git-branch's documentation as the syntax of a ref name must conform
to what is described in git-check-ref-format.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-branch's documentation as the syntax of a ref name must conform
to what is described in git-check-ref-format.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-branch.txt | patch | blob | history | |
Documentation/git-checkout.txt | patch | blob | history |
index 72fb2f89b48ea1b80cd6c4a0bd57a9122e59ad79..0b37e2bfc85706ca6d41c1c9e4fedcdce53a7578 100644 (file)
<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
index 095128906a523cc8ca30639c1d42452a4bcb0050..d82efc00d403dc13ac1e85c53083ccc52a4c79f3 100644 (file)
Force a re-read of everything.
-b::
- Create a new branch and start it at <branch>.
+ Create a new branch named <new_branch> and start it at
+ <branch>. 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.
-m::
If you have local modifications to one or more files that