Created
November 11, 2025 20:37
-
-
Save OsirisTerje/3870ef74b85cfc565864c4bd40937c83 to your computer and use it in GitHub Desktop.
Retag a tag: Move it forward
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git tag -d v1 | |
| git push origin :refs/tags/v1 | |
| git tag v1 | |
| git push origin v1 |
Author
Author
Very useful when working with github action (those you reuse, they need a tag to indicate its version, and then you have to move it forward when developing them.)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes you need to just move a tag forward, e.g. last-deploy tag.