git tag用法


git tag  //查看tag
git tag test_tag c809ddbf83939a89659e51dc2a5fe183af384233    //在某個commit 上打tag
git tag
...
git push origin test_tag    //!!!本地tag推送到線上
...
git tag -d test_tag        //本地刪除tag
git push origin :refs/tags/test_tag    //本地tag刪除了,再執行該句,刪除線上tag

 

https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/001376951758572072ce1dc172b4178b910d31bc7521ee4000

 

https://git-scm.com/book/zh/v1/Git-%E5%9F%BA%E7%A1%80-%E6%89%93%E6%A0%87%E7%AD%BE


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM