Skip to content

Instantly share code, notes, and snippets.

@r0mdau
Created September 9, 2015 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r0mdau/99fb81523633aed734e2 to your computer and use it in GitHub Desktop.
Save r0mdau/99fb81523633aed734e2 to your computer and use it in GitHub Desktop.
Renommage d'un tag git pushé
#!/bin/bash
VERSION=$1
git pull origin webservice-webapp-$VERSION && git tag $VERSION webservice-webapp-$VERSION && git push --tags && git push origin :refs/tags/webservice-webapp-$VERSION && git tag -d webservice-webapp-$VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment