Open ca-scribner opened 2 years ago
I just also ran into this and would love to see an option to sign commits.
I checked the code, and internally it uses go-git with these options set:
For signing, this would be required. https://github.com/go-git/go-git/blob/32c4f532abd57797322e97d95dfa02821980e309/options.go#L470
Can this get some love? I like this tool a lot but our repos require commits be signed :(
Describe the solution you'd like It is often useful to submit signed commits to repos, it would be good if
git-xargs
could enable this (likely by a feature flag)Describe alternatives you've considered There might be a way to change my system defaults to always do this? It would depend on whether you're using the command line git tool or golang packages for git interaction, and I haven't dug into the code
Additional context Great tool. Thanks for making and maintaining it!