Always signs commits for DCO (popularized by The Linux Foundation, required by
April 5, 2022 · View on GitHub
most CNCF projects including Helm).
See git help commit:
> -s, --signoff
> Add Signed-off-by line by the committer at the end of the commit log
message. The meaning of a signoff depends on the project, but it typically
certifies that committer has the rights to submit this work under the same
license and agrees to a Developer Certificate of Origin (see
http://developercertificate.org/ for more information).
git() { if [ # -gt 0 ] && [ "\1" == "commit" ] ; then shift command git commit --signoff "@" fi }