Delete the hotfix

Delete the hotfix branch

After your super-important fix is deployed, you’re ready to switch back to the work you were doing before you were interrupted. However, first you’ll delete the hotfix branch, because you no longer need it — the master branch points at the same place.

You can delete it with the -d option to git branch:

git branch -d hotfix

Last updated