Unable to create a new hotfix in SourceTree gitflow

Mazzy picture Mazzy · Apr 4, 2015 · Viewed 9.1k times · Source

enter image description here

Hello this is my git workflow. I'm trying to create by using Sourcetree a new hotfix. Unfortunately I get this error:

There is an existing hotfix branch (issue-#001). Finish that one first.

I have already finished the issue-#001. Why I'm unable to create a new one?

Answer

iAmrSalman picture iAmrSalman · Feb 8, 2018

There is a configuration option that you can set if you want multiple hotfixes.

git config --add gitflow.multi-hotfix true

This would allow multiple hotfixes, but by default it's not allowed. You can add this option per repository or globally.