Signed-off-by: Denton Liu <[email protected]>
---
Documentation/git-tag.txt | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index a74e7b926d..7e7eb9a7e9 100644
--- a/Documentation/git-tag.txt
+++ b/Documentation/git-tag.txt
@@ -10,7 +10,7 @@ SYNOPSIS
--------
[verse]
'git tag' [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]
- <tagname> [<commit> | <object>]
+ [--allow-recursive-tag] <tagname> [<commit> | <object>]
'git tag' -d <tagname>...
'git tag' [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]
[--points-at <object>] [--column[=<options>] | --no-column]
@@ -193,6 +193,11 @@ This option is only applicable when listing tags without
annotation lines.
that of linkgit:git-for-each-ref[1]. When unspecified,
defaults to `%(refname:strip=2)`.
+--allow-recursive-tag::
+ Usually recursively tagging a tag object is a mistake and the
+ command prevents you from making such a tag. This option
+ bypasses the safety and allows this to happen.
+
<tagname>::
The name of the tag to create, delete, or describe.
The new tag name must pass all checks defined by
--
2.21.0.512.g57bf1b23e1