git-tag(1): we tag HEAD by default
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>
Thomas Rast committed
Apr 3, 2013 at 16:27 UTC
dd686cd4b127248bd99b9337fe537626ff902d37
1 file changed
+6
Documentation/git-tag.txt
+6
@@ -126,6 +126,12 @@ This option is only applicable when listing tags without annotation lines.
126
linkgit:git-check-ref-format[1]. Some of these checks
127
may restrict the characters allowed in a tag name.
128
129
+<commit>::
130
+<object>::
131
+ The object that the new tag will refer to, usually a commit.
132
+ Defaults to HEAD.
133
+
134
+
135
CONFIGURATION
136
-------------
137
By default, 'git tag' in sign-with-default mode (-s) will use your