|
| 1 | +usage: git tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] [-e] |
| 2 | + [(--trailer <token>[(=|:)<value>])...] |
| 3 | + <tagname> [<commit> | <object>] |
| 4 | + or: git tag -d <tagname>... |
| 5 | + or: git tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>] |
| 6 | + [--points-at <object>] [--column[=<options>] | --no-column] |
| 7 | + [--create-reflog] [--sort=<key>] [--format=<format>] |
| 8 | + [--merged <commit>] [--no-merged <commit>] [<pattern>...] |
| 9 | + or: git tag -v [--format=<format>] <tagname>... |
| 10 | + |
| 11 | + -l, --list list tag names |
| 12 | + -n[<n>] print <n> lines of each tag message |
| 13 | + -d, --delete delete tags |
| 14 | + -v, --verify verify tags |
| 15 | + |
| 16 | +Tag creation options |
| 17 | + -a, --[no-]annotate annotated tag, needs a message |
| 18 | + -m, --message <message> |
| 19 | + tag message |
| 20 | + -F, --[no-]file <file> |
| 21 | + read message from file |
| 22 | + --trailer <trailer> add custom trailer(s) |
| 23 | + -e, --[no-]edit force edit of tag message |
| 24 | + -s, --[no-]sign annotated and GPG-signed tag |
| 25 | + --[no-]cleanup <mode> how to strip spaces and #comments from message |
| 26 | + -u, --[no-]local-user <key-id> |
| 27 | + use another key to sign the tag |
| 28 | + -f, --[no-]force replace the tag if exists |
| 29 | + --[no-]create-reflog create a reflog |
| 30 | + |
| 31 | +Tag listing options |
| 32 | + --[no-]column[=<style>] |
| 33 | + show tag list in columns |
| 34 | + --contains <commit> print only tags that contain the commit |
| 35 | + --no-contains <commit> |
| 36 | + print only tags that don't contain the commit |
| 37 | + --merged <commit> print only tags that are merged |
| 38 | + --no-merged <commit> print only tags that are not merged |
| 39 | + --[no-]omit-empty do not output a newline after empty formatted refs |
| 40 | + --[no-]sort <key> field name to sort on |
| 41 | + --[no-]points-at <object> |
| 42 | + print only tags of the object |
| 43 | + --[no-]format <format> |
| 44 | + format to use for the output |
| 45 | + --[no-]color[=<when>] respect format colors |
| 46 | + -i, --[no-]ignore-case |
| 47 | + sorting and filtering are case insensitive |
| 48 | + |
0 commit comments