git tutorial

git tutorial

Guide

git tag

git tag -a V1.2 -m 'release 1.2'

git tag

git show V1.2

# push local tags to remote
git push origin V1.2
git push origin --tags

# delete local and remote tag
git tag -d V1.2
git push origin :refs/tags/V1.2

# fetch remote tag
git fetch origin tag V1.2

Reference

History

  • 20190313: created.
坚持技术分享,您的支持将鼓励我继续创作!