Search

git tag

Requirements
To follow this setup, it is required to have following …
No Requirements
Tag [git tag]
Tag is used to reference commits more
Synopsis [git tag --<synopsis>]
git tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] [-e] <tagname> [<commit> | <object>] git tag -d <tagname>… git tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>] [--points-at <object>] [--column[=<options>] | --no-column] [--create-reflog] [--sort=<key>] [--format=<format>] [--merged <commit>] [--no-merged <commit>] [<pattern>] git tag -v [--format=<format>] <tagname>
YAML
복사
Commonly Used Commands
Add Tag
1.
git checkout <hash address>
2.
git tag <tag name> <commit hash> -m "<commit message>"
List Tags
git tag -l
git tag -l "<Message.*>"
git tag -l "<*.extension>"
Delete Tag
git tag -d "<version>"
Checkout to the certain tag
git checkout "<version>"
Remote Tag
Push Tag
git push "<remote name>" "<tag name>"
Delete Remote
git push --delete <remote name> <tag name>
Synchronous Tag
git push --tags

Reference