Skip to content

Instantly share code, notes, and snippets.

@austinthecoder
Last active August 29, 2015 14:18
Show Gist options
  • Save austinthecoder/86a30a71b30e0b38ac98 to your computer and use it in GitHub Desktop.
Save austinthecoder/86a30a71b30e0b38ac98 to your computer and use it in GitHub Desktop.
Hotfix

Hotfix

  1. fetch all remotes: git fetch --all
  2. create hotfix branch from prod: git git checkout -b hotfix remotes/us/master
  3. commit
  4. release: rh deploy
  5. merge to master: git checkout master, git merge hotfix
  6. delete hotfix: git branch -d hotfix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment