Skip to content

Instantly share code, notes, and snippets.

@learnist
Created June 12, 2009 17:41
Show Gist options
  • Save learnist/128786 to your computer and use it in GitHub Desktop.
Save learnist/128786 to your computer and use it in GitHub Desktop.
Cherry picking a bug fix to production
git tag -l 'production/*' | tail -1
git branch production_bugfix `git tag -l 'production/*' | tail -1`
git co production_bugfix
git log master
git cherry-pick 2ca4ba06e4494c548ccc8d9acd964d3f10da4e4d
git push origin production_bugfix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment