Skip to content

Instantly share code, notes, and snippets.

@Frechet
Created July 23, 2020 11:51
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Frechet/a3672e38f022ab9b4580fb13bc2cf53d to your computer and use it in GitHub Desktop.
Save Frechet/a3672e38f022ab9b4580fb13bc2cf53d to your computer and use it in GitHub Desktop.
1. While still on any branch
git tag -d v1.1
2. Create the tag again: This will "move" the tag to point to your latest commit on that branch
git tag v1.1
3. Delete the tag on remote
git push origin :v1.1
4. Create the tag on remote
git push origin v1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment