# Add tags
git tag tagName
# Push tags
git push --follow-tags
# Delete locally
git tag -d tagName
# Delete remote tag:
git tag -d tagName
git push origin :tagName
#To Create a tag on your current branch:
git tag <tagname>
#To include a description with your tag, add -a to create an annotated tag:
git tag <tagname> -a
#To push tags:
git push origin --tags
#To push a signle tag:
git push origin <tag>
$ git tag -a <tagname> -m <msg>
$ git tag -d <tagname>
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>]
[--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>…
#list tags
$ git tag
v1.0
v2.0
Code Example |
---|
Shell :: |
:: |
:: create branch from remote branch |
:: increase swap size ubuntu |
Shell :: |
:: |
Shell :: |
Shell :: |
Shell :: git clone https://github.com/git/git |
Shell :: letsencrypt error |
:: |
:: |
:: running docker image |
:: bash do-while |
:: |
:: jenkins builds |
Shell :: git bash |
:: spring boot docker hub image |
:: cat in bash shell |
Shell :: |
:: enable ssh on ubuntu 20.04 |
Shell :: |
:: |
Shell :: |
Shell :: terminal make directory and enter in the same time |
:: |
:: |
Shell :: ubuntu install meslo font |
:: |
:: store all terminal output in a file |