Remember that a model is just a model — it gives you a structure that makes you more efficient, rather than blindly following a set of rules. This means that you must feel at ease to set things up and find out what works in your situation, because it may not work in any situation.
I think you have a choice in this situation:
- Refuse merging and continue working on the property branch until it is ready.
- Launch a new branch to fix the error.
Which choice you choose depends on factors such as:
- Can your customers see a mistake? Create a hotfix or hotfix.
- Is the error very bad and stops other progress in the development branch? Discard the changes.
- Is this just a minor issue with minimal external impact? Just keep working on the feature branch and reconnect when you're ready.
The difference between an element branch and a bugfix branch is not important from a Git point of view. This only matters if you use these labels for internal documentation or other audit purposes (for example, to track what is visible to external users).
Resist the temptation to work directly from the development branch, even if you think that the error will be very quick - nothing seems as simple as it seems, and you will get a headache later if something goes wrong.
A rough visual representation of your options:

Brian l
source share