git 相关

列出所有tags

git ls-remote --tags

 

进入远程tag

1  git fetch --all --tags --prune

git ls-remote --heads origin  //列出同时在branch中有名字的tag

git branch -r 

2 git checkout tags/

posted @ 2018-05-23 22:00  anjunact  阅读(80)  评论(0编辑  收藏  举报