git 如何打tag

git tag 1.0.0

這樣就打了一個tag
然後因為在push的時候不會順便push tag上去,要自己再push上去

git push origin 1.0.0

這樣就大功告成

查詢有哪些tag

git tag -l "1.0*"

例出1.0xxxxx系列的tag

刪除特定的tag

git tag -d 1.0.6

參考文章:
https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-tag