Description
Commitizen already allows fixup! and squash!. Missing from the list in
|
"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
Description
Commitizen already allows
fixup!andsquash!. Missing from the list incommitizen/commitizen/defaults.py
Lines 89 to 95 in 75a97e5
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 theallowed_prefixeslist.Additional context
https://git-scm.com/docs/git-commit/2.32.0#Documentation/git-commit.txt---fixupamendrewordcommit
Related issues
No response