summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorNicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>2018-02-06 08:36:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-02-07 20:46:48 (GMT)
commit9eed6e40c0ec9cbe89efd7303c3facd16fa1364f (patch)
tree697eb7f65f64ff2cdbdb06f5f4fcc0c9a0bb57b6 /Documentation
parent2512f15446149235156528dafbe75930c712b29e (diff)
downloadgit-9eed6e40c0ec9cbe89efd7303c3facd16fa1364f.zip
git-9eed6e40c0ec9cbe89efd7303c3facd16fa1364f.tar.gz
git-9eed6e40c0ec9cbe89efd7303c3facd16fa1364f.tar.bz2
tag: add --edit option
Add a --edit option whichs allows modifying the messages provided by -m or -F, the same way git commit --edit does. Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-tag.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index 956fc01..1d17101 100644
--- a/Documentation/git-tag.txt
+++ b/Documentation/git-tag.txt
@@ -9,7 +9,7 @@ git-tag - Create, list, delete or verify a tag object signed with GPG
SYNOPSIS
--------
[verse]
-'git tag' [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>]
+'git tag' [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]
<tagname> [<commit> | <object>]
'git tag' -d <tagname>...
'git tag' [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]
@@ -167,6 +167,12 @@ This option is only applicable when listing tags without annotation lines.
Implies `-a` if none of `-a`, `-s`, or `-u <keyid>`
is given.
+-e::
+--edit::
+ The message taken from file with `-F` and command line with
+ `-m` are usually used as the tag message unmodified.
+ This option lets you further edit the message taken from these sources.
+
--cleanup=<mode>::
This option sets how the tag message is cleaned up.
The '<mode>' can be one of 'verbatim', 'whitespace' and 'strip'. The