Answers for "git tags"

7

git add tag

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

git see tags

$ git tag -l -n2
Posted by: Guest on June-19-2020
3

git tag a previous commit

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

git tag from commit

$ git tag <tag_name> HEAD   (for the last commit)
Posted by: Guest on October-28-2020
1

search tag git

$ git tag -l "v1.8.5*"
v1.8.5
v1.8.5-rc0
v1.8.5-rc1
v1.8.5-rc2
v1.8.5-rc3
v1.8.5.1
v1.8.5.2
v1.8.5.3
v1.8.5.4
v1.8.5.5
Posted by: Guest on June-25-2020
0

git tag

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

Browse Popular Code Answers by Language