Create a hotfix

Create a hotfix branch

Now, you have a hotfix to make. Let’s create a hotfix branch on which to work until it’s completed:

git checkout -b hotfix

Implement the changes - whatever it takes to fix the bug and then committed like this

At this point, manually make some changes to the file and commit as below:

git commit -a -m 'C4'

Hotfix branch based on master

You can run your tests, make sure the hotfix is what you want, we will now proceed for merging.

Last updated