Skip to content

Commit

Permalink
git-tag(1): we tag HEAD by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Rast authored and Junio C Hamano committed Apr 3, 2013
1 parent 3322ad4 commit dd686cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Documentation/git-tag.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd686cd

Please sign in to comment.