Skip to content

Instantly share code, notes, and snippets.

@PaulRBerg
Created October 20, 2021 15:03
Show Gist options
  • Save PaulRBerg/d7393533765726a0e8b1f37ce61c7171 to your computer and use it in GitHub Desktop.
Save PaulRBerg/d7393533765726a0e8b1f37ce61c7171 to your computer and use it in GitHub Desktop.
Utility Bash script to rename git tags
#!/bin/bash
git tag $NEW $OLD
git tag -d $OLD
git push origin $NEW :$OLD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment