0
我已經使用標籤v1.1克隆了現有的存儲庫。如何刪除克隆git存儲庫上的標籤?
我現在在克隆的代表上看到了同樣的標籤v1.1(它仍然保持着前代表的上游)。 但克隆代表真的應該是v1.0。我如何刪除該標籤來創建v1.0標籤?
git tag
V1.1
然後我嘗試這個
git push origin :v1.1
我得到的錯誤信息:
error: unable to delete 'v1.1': remote ref does not exist
error: failed to push some refs to 'https://github.com/xxx/xxx.git'
這足以說明如'git tag v1.0 v1.1' – vonbrand