diff options
author | Jonathan Nieder <jrnieder@uchicago.edu> | 2008-07-24 11:55:25 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-25 00:26:44 -0700 |
commit | a2d07d80ec9dfff0e51cac534be7c1642a47f8fb (patch) | |
tree | f6de6e5ce57714e18f3fb26228c78f5a35f26609 /Documentation | |
parent | perl/Makefile: update NO_PERL_MAKEMAKER section (diff) | |
download | tgif-a2d07d80ec9dfff0e51cac534be7c1642a47f8fb.tar.xz |
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 "<commit> | <object>" instead of "<head>" to
address his question.
Samuel Bronson had the idea of putting "<commit> | <object>"
for "<object>" because most tags point to commits (and for the
rest of the manpage, all tags point to commits).
Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-tag.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt index b8dc88fa38..046ab3542b 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 <key-id>] [-f] [-m <msg> | -F <file>] <name> [<head>] +'git tag' [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] + <name> [<commit> | <object>] 'git tag' -d <name>... 'git tag' [-n[<num>]] -l [<pattern>] 'git tag' -v <name>... |