summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorThomas Rast <trast@inf.ethz.ch>2013-04-03 14:27:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-04-03 15:33:56 (GMT)
commitdd686cd4b127248bd99b9337fe537626ff902d37 (patch)
tree461c40ec282a1b017b25e7819b5d7d7d0d4613c5 /Documentation
parent3322ad428446b2d54e95b50fc70abc1ece1f4069 (diff)
downloadgit-dd686cd4b127248bd99b9337fe537626ff902d37.zip
git-dd686cd4b127248bd99b9337fe537626ff902d37.tar.gz
git-dd686cd4b127248bd99b9337fe537626ff902d37.tar.bz2
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-tag.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index 6470cff..ea28e39 100644
--- a/Documentation/git-tag.txt
+++ b/Documentation/git-tag.txt
@@ -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