Answers for "git tag"

7

git add tag

git tag -a v1.2 
git push origin v1.2
Posted by: Guest on June-02-2020
3

git tag a previous commit

git tag -a v1.2 9fceb02 -m "Message here"
Posted by: Guest on June-11-2020
6

git create tag and push

$ git push origin v1.4
Counting objects: 14, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (14/14), 2.05 KiB | 0 bytes/s, done.
Total 14 (delta 3), reused 0 (delta 0)
To [email protected]:atlasbro/gittagdocs.git
* [new tag] v1.4 -> v1.4
Posted by: Guest on December-11-2019
0

git tag

#CREATE tag wit message:
$ git tag -a v1.4 -m "my version 1.4 annotation: tags last commit"

#PUSH tag:
#from git 1.8.3 you can use
git push --follow-tags
#single tag push
git push origin <tag_name>
#All tags (if possible use --follow-tags 'cause it's safer)
git push --tags

#DELETE TAG:
# locally
git tag -d tagName
# remote tag
git tag -d tagName
git push origin :tagName

#Check tags:
git tag
#Check single tag details:
git show <tag_name>
Posted by: Guest on October-22-2021
1

git tag

<h1>hello</h1>
Posted by: Guest on September-11-2021
1

git tag documentation

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>…​
Posted by: Guest on August-29-2021

Browse Popular Code Answers by Language