Skip to content

Instantly share code, notes, and snippets.

@moraisaugusto
Created June 25, 2019 14:04
Show Gist options
  • Save moraisaugusto/259872fe80e6112cac1fcfde2a1c1664 to your computer and use it in GitHub Desktop.
Save moraisaugusto/259872fe80e6112cac1fcfde2a1c1664 to your computer and use it in GitHub Desktop.
git hotfix
git checkout master
git checkout -b hotfix_branch
# work is done commits are added to the hotfix_branch
git checkout develop
git merge hotfix_branch
git checkout master
git merge hotfix_branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment