From 2e835086839fe08197c0daf57c78d91401b13099 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 11 Dec 2016 00:12:48 -0500 Subject: Sign and sign-off commits by default Signed-off-by: Amin Bandali --- git/.gitconfig | 5 +++++ spacemacs/.spacemacs | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-60-g2f50