Git's tag

1 tag associated command

1) marked tag

git tag v1.0.0
git tag -a v1.0.0 -m 'info'

 2) View tag

git tag

3) switching tag

git checkout tagname

4) Delete tag

git tag -d v1.0.0

5) Push Remote

Push a single tag

git push origin v1.0.0

Push all tag 

git push origin --tags

 

Released 1079 original articles · won praise 686 · Views 3.05 million +

Guess you like

Origin blog.csdn.net/u011068702/article/details/105172526