Updates were rejected because the tag already exists in the remote !!

If we recreate a tag, sometimes when we push on remote some commit we can get this error.

! [rejected] mytag -> mytag (already exists)
Updates were rejected because the tag already exists in the remote.

To resolve this problem we need to remove the tag from Sourcetree selecting the option “Remove the tag from all remotes” and recreate the tag.

Laisser un commentaire