diff options
author | Shawn Pearce <spearce@spearce.org> | 2006-05-20 21:54:46 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-21 02:05:41 -0700 |
commit | 2b1f4247ab5881cfde1d35ca3e3c48b7de8f449c (patch) | |
tree | 55ea94700e0fda51f94c54540ae0601ffbfb85c0 /Documentation/git-checkout.txt | |
parent | 8824689884a5673f803d77cda499f83b84145a06 (diff) | |
download | git-2b1f4247ab5881cfde1d35ca3e3c48b7de8f449c.tar.gz git-2b1f4247ab5881cfde1d35ca3e3c48b7de8f449c.tar.xz |
Reference git-check-ref-format in git-branch.
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>
Diffstat (limited to 'Documentation/git-checkout.txt')
-rw-r--r-- | Documentation/git-checkout.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index 095128906..d82efc00d 100644 --- a/Documentation/git-checkout.txt +++ b/Documentation/git-checkout.txt @@ -35,7 +35,10 @@ OPTIONS 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 |