Skip to content

Instantly share code, notes, and snippets.

@thor48
Last active April 28, 2020 16:00
Show Gist options
  • Save thor48/7894071 to your computer and use it in GitHub Desktop.
Save thor48/7894071 to your computer and use it in GitHub Desktop.
HOTFIX GIT FLOW
Make sure your in develop
git flow hotfix start [Release Number]
git add -A
git commit *** Commit the change and give description
git flow hotfix finish [Release Number] *** Be sure to label Tags
git push *** When you push it will push to both branches that were setup in git flow init
git push --tags *** These will appear in the Releases link on GitHub
@thor48
Copy link
Author

thor48 commented Dec 13, 2013

IF NEW REPO
git branch --track master origin/master
git flow init

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment