From: Jonathan Nieder Date: Thu, 24 Jul 2008 16:55:25 +0000 (-0500) Subject: document that git-tag can tag more than heads X-Git-Tag: v1.6.0-rc1~41 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a2d07d80ec9dfff0e51cac534be7c1642a47f8fb;p=git.git document that git-tag can tag more than heads After looking the git-tag manpage, someone on #git wondered how to tag a commit that is not a branch head. This patch changes the synopsis to say " | " instead of "" to address his question. Samuel Bronson had the idea of putting " | " for "" because most tags point to commits (and for the rest of the manpage, all tags point to commits). Signed-off-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt index b8dc88fa3..046ab3542 100644 --- a/Documentation/git-tag.txt +++ b/Documentation/git-tag.txt @@ -9,7 +9,8 @@ git-tag - Create, list, delete or verify a tag object signed with GPG SYNOPSIS -------- [verse] -'git tag' [-a | -s | -u ] [-f] [-m | -F ] [] +'git tag' [-a | -s | -u ] [-f] [-m | -F ] + [ | ] 'git tag' -d ... 'git tag' [-n[]] -l [] 'git tag' -v ...