Skip to content

Commit

Permalink
Update the documentation for git-tag-script to reflect current behavior.
Browse files Browse the repository at this point in the history
[jc: I updated Ryan's patch to mention -a to create an unsigned
tag.]

Signed-off-by: Ryan Anderson <ryan@michonline.com>
  • Loading branch information
Ryan Anderson authored and Junio C Hamano committed Jul 25, 2005
1 parent 0fad0fd commit b7e438f
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions Documentation/git-tag-script.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,25 @@ v0.1, May 2005

NAME
----
git-tag-script - An example script to create a tag object signed with GPG
git-tag-script - Create a tag object signed with GPG



SYNOPSIS
--------
'git-tag-script'
'git-tag-script' [-s | -a] [-f] <name>

DESCRIPTION
-----------
This is an example script that uses "git-mktag" to create a tag object
signed with GPG.
Adds a "tag" reference in .git/refs/tags/

Unless "-f" is given, the tag must not yet exist in ".git/refs/tags"

If "-s" or "-a" is passed, the user will be prompted for a tag message.
and a tag object is created. Otherwise just the SHA1 object
name of the commit object is written.

A GnuPG signed tag object will be created when "-s" is used.


Author
Expand All @@ -29,4 +36,3 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel
GIT
---
Part of the link:git.html[git] suite

0 comments on commit b7e438f

Please sign in to comment.