Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Documentation: git-tag '-m'/'-F' implies '-a'
author
Dirk Süsserott
<newsletter@dirk.my1.cc>
Mon, 24 Mar 2008 19:43:08 +0000
(15:43 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 25 Mar 2008 05:14:35 +0000
(22:14 -0700)
Documentation/git-tag.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
ec31b0c
)
diff --git
a/Documentation/git-tag.txt
b/Documentation/git-tag.txt
index b62a3d1c5896a3b2e32af58029115240d609f37b..c22fb71176984f40e4b549d0d492f75af85e0e1b 100644
(file)
--- a/
Documentation/git-tag.txt
+++ b/
Documentation/git-tag.txt
@@
-26,6
+26,9
@@
creates a 'tag' object, and requires the tag message. Unless
`-m <msg>` or `-F <file>` is given, an editor is started for the user to type
in the tag message.
`-m <msg>` or `-F <file>` is given, an editor is started for the user to type
in the tag message.
+If `-m <msg>` or `-F <file>` is given and `-a`, `-s`, and `-u <key-id>`
+are absent, `-a` is implied.
+
Otherwise just the SHA1 object name of the commit object is
written (i.e. a lightweight tag).
Otherwise just the SHA1 object name of the commit object is
written (i.e. a lightweight tag).
@@
-68,10
+71,14
@@
OPTIONS
Use the given tag message (instead of prompting).
If multiple `-m` options are given, there values are
concatenated as separate paragraphs.
Use the given tag message (instead of prompting).
If multiple `-m` options are given, there values are
concatenated as separate paragraphs.
+ Implies `-a` if none of `-a`, `-s`, or `-u <key-id>`
+ is given.
-F <file>::
Take the tag message from the given file. Use '-' to
read the message from the standard input.
-F <file>::
Take the tag message from the given file. Use '-' to
read the message from the standard input.
+ Implies `-a` if none of `-a`, `-s`, or `-u <key-id>`
+ is given.
CONFIGURATION
-------------
CONFIGURATION
-------------