Sunday, 15 March 2015

SubGit error when trying to update an SVN tag -



SubGit error when trying to update an SVN tag -

i have svn tag 2.14 i'm trying update. first, have updated local tag with

git tag 2.14 -f

and deleted remote tag

git force origin :refs/tags/2.14

but now, when seek force tag with

git force origin refs/tags/2.14

i error saying:

! [rejected] 2.14 -> 2.14 (already exists) error: failed force refs ... hint: updates rejected because tag exists in remote

i checked on remote git/subgit repo git tag -l , tag still exists in repository, not in subversion! have tried delete tag in subgit repo manually git tag -d 2.14, still same error. when seek local git fetch remote tag deleted, remote 2.14 tag somehow restored in subgit repo.

solved forcing force with

git force --force origin refs/tags/2.14:refs/tags/2.14

as suggested in reply question: “tag exists in remote" error after recreating git tag

tags subgit

No comments:

Post a Comment