Source Tree offers an option to move a tag if I try to tag current commit using existing tag. I did that locally, but now when I try to push to bitbucket, I get the error that tag already exists.
hint: Updates were rejected because the tag already exists in the remote.
Here's the complete log of the push attempt
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin master:master
Pushing to git@bitbucket.org:*****
To git@bitbucket.org:****
= [up to date] master -> master
= [up to date] v4.0 -> v4.0
! [rejected] 4.0.1 -> 4.0.1 (already exists)
updating local tracking ref 'refs/remotes/origin/master'
error: failed to push some refs to 'git@bitbucket.org:****'
hint: Updates were rejected because the tag already exists in the remote.
Completed with errors, see above
How to reconcile this problem?