Created
July 4, 2013 08:37
-
-
Save frasertweedale/5925978 to your computer and use it in GitHub Desktop.
rename all tags in git repo from "foo-0.1.2" to "v0.1.2"
This file contains 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
for TAG in $(git tag); do git tag "v$(echo "$TAG" | cut -d - -f 2)" "$TAG"; git tag -d "$TAG"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment