Closed
Description
By using tag and replacing one with git tag -f
raise the following git error
From github.com:talset/crappytest
! [rejected] DEV -> DEV (would clobber existing tag)
How to reproduce:
git checkout bla
git tag -f DEV
git push origin DEV --force
git checkout foo
git tag -f DEV
git push origin DEV --force
What is done by the resource ?
git fetch --tags
From github.com:talset/crappytest
! [rejected] DEV -> DEV (would clobber existing tag)
How to solve it ?
Add a -f
flag
git fetch --tags -f
From github.com:talset/crappytest
t [tag update] DEV -> DEV
I will make a PR for this
Activity
fix concourse#233 error would clobber existing tag
fix concourse#233 error would clobber existing tag
Merge pull request #234 from talset/master
mlorenzatiglb commentedon Sep 13, 2019
If it still happens do a yarn cache clean.
adrianbona commentedon Nov 18, 2020
Oh my gosh, YES
velidan commentedon Feb 15, 2021
Thank you. This solution works
vinnyA3 commentedon Apr 13, 2021
cache clean worked for me, thanks!