merge develop to branch
git checkout develop
git pull
git checkout branch-x
git rebase develop
merge develop to branch
git checkout develop
git pull
git checkout branch-x
git rebase develop
git merge branch into main
You can run your tests, make sure the hotfix is what you want, and finally merge the hotfix branch back into your master branch to deploy to production. You do this with the git merge command:
$ git checkout master
$ git merge hotfix
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us