]> asedeno.scripts.mit.edu Git - git.git/blobdiff - Documentation/git-check-ref-format.txt
Merge branch 'np/push-delta'
[git.git] / Documentation / git-check-ref-format.txt
index c1ce26884e73f1599602472ba5032988486cc465..0873e60f7f61f51143e88fd8637b34627620a7dd 100644 (file)
@@ -25,6 +25,10 @@ imposes the following rules on how references are named:
   grouping, but no slash-separated component can begin with a
   dot `.`.
 
+. They must contain at least one `/`. This enforces the presence of a
+  category like `heads/`, `tags/` etc. but the actual names are not
+  restricted.
+
 . They cannot have two consecutive dots `..` anywhere.
 
 . They cannot have ASCII control characters (i.e. bytes whose