summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0fad0fd)
raw | patch | inline | side by side (parent: 0fad0fd)
author | Ryan Anderson <ryan@michonline.com> | |
Mon, 25 Jul 2005 06:17:16 +0000 (02:17 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 25 Jul 2005 23:34:26 +0000 (16:34 -0700) |
[jc: I updated Ryan's patch to mention -a to create an unsigned
tag.]
Signed-off-by: Ryan Anderson <ryan@michonline.com>
tag.]
Signed-off-by: Ryan Anderson <ryan@michonline.com>
Documentation/git-tag-script.txt | patch | blob | history |
index daf350b5bf7702d4f7420d29c0e0c95fae2c35ba..2df396ef89993bab326afe43d2778c57ff3d8fab 100644 (file)
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
GIT
---
Part of the link:git.html[git] suite
-