git-tag(1): we tag HEAD by default
authorThomas Rast <trast@inf.ethz.ch>
Wed, 3 Apr 2013 14:27:14 +0000 (16:27 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Apr 2013 15:33:56 +0000 (08:33 -0700)
The <commit>|<object> argument is actually not explained anywhere
(except implicitly in the description of an unannotated tag). Write a
little explanation, in particular to cover the default.

Signed-off-by: Thomas Rast <trast@inf.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-tag.txt
index 6470cffd325f919d8daa6ddb2ef70cf79334c30f..ea28e39c1b7a8e78b11561ea4b1ff6ccb8a42f92 100644 (file)
@@ -126,6 +126,12 @@ This option is only applicable when listing tags without annotation lines.
        linkgit:git-check-ref-format[1].  Some of these checks
        may restrict the characters allowed in a tag name.
 
+<commit>::
+<object>::
+       The object that the new tag will refer to, usually a commit.
+       Defaults to HEAD.
+
+
 CONFIGURATION
 -------------
 By default, 'git tag' in sign-with-default mode (-s) will use your