2017年9月27日 星期三

Git tag



New tag                                                                             
a 就是標籤名稱,-m 代表該標籤說明
01
02
03
04
05
$ git tag -a v1.4 -m 'my version 1.4'
$ git tag
v0.1
v1.3
v1.4


Commit Tag                                                                         
git push origin v1.5
or
git push origin --tags

Delete local Tag                                                                  
git tag -d v12345



Git 如何 checkout 某個tag                                                                             

先利用 git clone 抓取整個repository 再利用 git tag -l 列出全部的tag清單 最後用 git checkout from http://miscflame.blogspot.tw/2010/10/git-checkout-tag.html

沒有留言:

張貼留言