Skip to content

Commit

Permalink
git-tag(1): Refer to git-check-ref-format(1) for <name>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jari Aalto authored and Junio C Hamano committed Aug 6, 2009
1 parent 1a3d834 commit 18b0793
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Documentation/git-tag.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 18b0793

Please sign in to comment.