aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-tag.txt
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2009-08-06 00:20:32 +0300
committerJunio C Hamano <gitster@pobox.com>2009-08-06 13:33:57 -0700
commit18b07930363d54778e616f1b86de8ccd5ebe88fc (patch)
treee4bf1d918b75175699b37264028bdf4cbda41f3a /Documentation/git-tag.txt
parent1a3d834f06260e51396a6047ec746fc7895de316 (diff)
downloadgit-18b07930363d54778e616f1b86de8ccd5ebe88fc.tar.gz
git-tag(1): Refer to git-check-ref-format(1) for <name>
Explain briefly what characters are prohibited in tag <name> and point to git-check-ref-format(1) manual page for further information. Signed-off-by: Jari Aalto <jari.aalto@cante.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-tag.txt')
-rw-r--r--Documentation/git-tag.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index fa733214ab..1118ce22dc 100644
--- a/Documentation/git-tag.txt
+++ b/Documentation/git-tag.txt
@@ -17,7 +17,10 @@ SYNOPSIS
DESCRIPTION
-----------
-Adds a 'tag' reference in `.git/refs/tags/`
+
+Adds a 'tag' reference in `.git/refs/tags/`. The tag <name> must pass
+linkgit:git-check-ref-format[1] which basicly means that control characters,
+space, ~, ^, :, ?, *, [ and \ are prohibited.
Unless `-f` is given, the tag must not yet exist in
`.git/refs/tags/` directory.