path: root/Documentation/git-branch.txt
diff options
authorShawn Pearce <>2006-05-21 01:54:46 (GMT)
committerJunio C Hamano <>2006-05-21 09:05:41 (GMT)
commit2b1f4247ab5881cfde1d35ca3e3c48b7de8f449c (patch)
tree55ea94700e0fda51f94c54540ae0601ffbfb85c0 /Documentation/git-branch.txt
parent8824689884a5673f803d77cda499f83b84145a06 (diff)
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-branch.txt')
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index 72fb2f8..0b37e2b 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -43,6 +43,9 @@ OPTIONS
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.
The new branch will be created with a HEAD equal to this. It may