X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-tag-script.txt;h=2df396ef89993bab326afe43d2778c57ff3d8fab;hb=f69714c38c6f3296a4bfba0d057e0f1605373f49;hp=daf350b5bf7702d4f7420d29c0e0c95fae2c35ba;hpb=b43d44779bf98977b211256f936d0edda8a9625a;p=git.git diff --git a/Documentation/git-tag-script.txt b/Documentation/git-tag-script.txt index daf350b5..2df396ef 100644 --- a/Documentation/git-tag-script.txt +++ b/Documentation/git-tag-script.txt @@ -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] 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 @@ -29,4 +36,3 @@ Documentation by David Greaves, Junio C Hamano and the git-list