Skip to content

Instantly share code, notes, and snippets.

@jmeridth
Created August 26, 2010 18:30
Show Gist options
  • Select an option

  • Save jmeridth/551920 to your computer and use it in GitHub Desktop.

Select an option

Save jmeridth/551920 to your computer and use it in GitHub Desktop.
move git prod tag to where staging is
git fetch --tags
COMMIT=`git rev-parse staging`
git tag -fa -m "production" production $COMMIT
git push origin tag production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment