# 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:

```bash
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:

```bash
git commit -a -m 'C4'
```

Hotfix branch based on `master`

<figure><img src="https://git-scm.com/book/en/v2/images/basic-branching-4.png" alt=""><figcaption></figcaption></figure>

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