Add git config variable for signoff
- From
- Prajwal S N <prajwalnadig21@gmail.com>
- Date
- Dec 16, 2022, 19:50 UTC
- Message-ID
- <CAC5-4e-hViTA36gg=ui5=kUsSswVe+XhRmBz56H-4PkuhYLrrQ@mail.gmail.com>
Hi all,
I noticed that git provides the config variable `gpgsign` to enable GPG signing of commits by default (akin to the `-S` flag). But there isn't a variable yet for signing off commits by default (akin to the `-s` flag). I feel this would be a convenient feature to have, since a large number of projects today require every commit to be signed off for DCO[1]. I am willing to take this up, and would like to know if a patch would be welcomed. Thank you!
Best regards, Prajwal S N
[1]: https://developercertificate.org/