Git 添加,删除分支
2020-02-23 本文已影响0人
师娘哪里去了
#查看tag
git tag
#在某个commit 上打tag
git tag test_tag c809ddbf83939a89659e51dc2a5fe183af384233
#本地tag推送到线上
git push origin test_tag
#删除本地tag
git tag -d test_tag
#//本地tag删除了,再删除线上tag
git push origin :refs/tags/test_tag