git错误记录 - would clobber existing tag
习惯使用VScode的git管理去推送,结果出问题了,只好手输命令行。感觉好烦。
本身报错:
git pull origin deal_bug
From gitlab.com:tensorsecurity-rd/tensor-frontend
- branch deal_bug -> FETCH_HEAD
! [rejected] 1.0.5 -> 1.0.5 (would clobber existing tag)
原因是删了原有的分支,然后重新创建了一个相同名字的
git fetch -f
注 -f 慎用,强制更新!!!