commitizen
commitizen copied to clipboard
Configure `cz commit` to add `--signoff` by default
Description
Many projects require developers to sign-off every commit in order to acknowledge the project's Developer Certificate of Origin (DCO). Thus, it would be useful to configure commitizen in a way so that each commit is automatically signed-off, so that the -s/--signoff options do not manually be supplied to cz commit.
Possible Solution
- Developer sets
always_signoffsetting totrue. - Developer runs
cz commitwithout any arguments. - Developer answers all questions of commitizen.
- A Git commit is created and its message contains
Signed-off-by: Firstname Lastname <[email protected]>
Additional context
No response
Additional context
No response
Hi @schlotter, thanks for proposing this issue. It sounds good to me. Would be much appreciated if you're interested in sending a PR 🙂
Thanks @JamieLee0510 for the reminder. Just verified this issue was merged long a ago and resolved