From: Amin Bandali Date: Sun, 11 Dec 2016 05:12:48 +0000 (-0500) Subject: Sign and sign-off commits by default X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/2e835086839fe08197c0daf57c78d91401b13099 Sign and sign-off commits by default Signed-off-by: Amin Bandali --- diff --git a/git/.gitconfig b/git/.gitconfig index 153186f..fc7b5ee 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -1,3 +1,8 @@ [user] email = amin@aminb.org name = Amin Bandali + signingkey = 4E05246AB0BF7FFB +[commit] + gpgsign = true +[format] + signoff = true diff --git a/spacemacs/.spacemacs b/spacemacs/.spacemacs index 992faaf..eeb178a 100644 --- a/spacemacs/.spacemacs +++ b/spacemacs/.spacemacs @@ -318,7 +318,8 @@ you should place your code here." (setq powerline-default-separator 'slant) - (setq magit-commit-arguments '("--gpg-sign=4E05246AB0BF7FFB")) + (setq magit-commit-arguments '("--signoff" + "--gpg-sign=4E05246AB0BF7FFB")) (setq undo-tree-auto-save-history t undo-tree-history-directory-alist