[git][error] would clobber existing tag
3월 18, 2023
In 기타 |
> git pull --tags origin master
From https://github.com/MY/TEST
* branch master -> FETCH_HEAD
! [rejected] latest -> latest (would clobber existing tag)
123456...7890 master -> origin/master
After merging from VSC to the development branch, I tagged it so that it can be built. If another developer makes changes to the branch and then PULLs, you may get an error like the title. The approximate content seems to be caused by different locally tagged sources. (guess)
Anyway, to solve this problem, you can do a force update as shown below.
git pull --tags -f