Allow for fixup! commits
blaggacao opened this issue · 5 comments
When using conventional commits, allow the use of fixup! <sha>
or fixup! <header>
syntax, which are both recognized by git rebase --autosquash
later on.
Agreed, fixup!
and squash!
prefixes should be ignored as those mechanisms are part of the base features Git offers.
@blaggacao I did'n try this, but I think this could be solved by a setting in the .conform.yaml, just adding allowed types:
conventional:
types: ["fixup!,"wip", "chore","docs","perf","refactor","style","test","release"]
That's a good idea, however we eneded up wrapping with a regex condition.
That gives more flexibility to the actual header and thereby less restriction to the end use: divnix/std@2f047e0
Any way that works is the right way! :) Sidenote, I really like this tool, but would love to see more documentation, and more responses to the issues from the maintainer.