X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-tag.txt;h=e8892bb0b05884c379b9b32548c799bd0aca6f1b;hb=72fdfb50f721460e4cdff16fbe9c72d4ce6c668c;hp=3984812cecc4453b4f3fb84f017f3cd4c50751cb;hpb=e634aec752642dcf86c3fc82025e43381d6768c2;p=git.git diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt index 3984812c..e8892bb0 100644 --- a/Documentation/git-tag.txt +++ b/Documentation/git-tag.txt @@ -8,7 +8,7 @@ git-tag - Create a tag object signed with GPG SYNOPSIS -------- -'git-tag' [-a | -s | -u ] [-f] [-m ] [] +'git-tag' [-a | -s | -u ] [-f | -d] [-m ] [] DESCRIPTION ----------- @@ -23,13 +23,35 @@ creates a 'tag' object, and requires the tag message. Unless in the tag message. Otherwise just the SHA1 object name of the commit object is -written (i.e. an lightweight tag). +written (i.e. a lightweight tag). A GnuPG signed tag object will be created when `-s` or `-u ` is used. When `-u ` is not used, the committer identity for the current user is used to find the GnuPG key for signing. +`-d ` deletes the tag. + +OPTIONS +------- +-a:: + Make an unsigned, annotated tag object + +-s:: + Make a GPG-signed tag, using the default e-mail address's key + +-u :: + Make a GPG-signed tag, using the given key + +-f:: + Replace an existing tag with the given name (instead of failing) + +-d:: + Delete an existing tag with the given name + +-m :: + Use the given tag message (instead of prompting) + Author ------