-
-
Notifications
You must be signed in to change notification settings - Fork 302
Open
Labels
Description
Description
Commitizen already allows fixup! and squash!. Missing from the list in
commitizen/commitizen/defaults.py
Lines 89 to 95 in 75a97e5
| "allowed_prefixes": [ | |
| "Merge", | |
| "Revert", | |
| "Pull request", | |
| "fixup!", | |
| "squash!", | |
| ], |
is only
amend!.
See https://git-scm.com/docs/git-commit/2.32.0#Documentation/git-commit.txt---fixupamendrewordcommit how to use/produce it.
If it is desired I'm open to contribute this change.
Possible Solution
Add amend! to the allowed_prefixes list.
Additional context
https://git-scm.com/docs/git-commit/2.32.0#Documentation/git-commit.txt---fixupamendrewordcommit
Related issues
No response