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

相关文章:

  • 2022-12-23
  • 2021-11-24
  • 2022-12-23
  • 2021-06-04
  • 2021-11-06
  • 2021-06-29
猜你喜欢
  • 2022-01-22
  • 2021-07-03
  • 2022-02-02
  • 2022-12-23
  • 2022-02-26
相关资源
相似解决方案