diff options
author | Amin Bandali <amin@aminb.org> | 2016-12-11 00:12:48 -0500 |
---|---|---|
committer | Amin Bandali <amin@aminb.org> | 2016-12-11 00:12:48 -0500 |
commit | 2e835086839fe08197c0daf57c78d91401b13099 (patch) | |
tree | ec88d66c66bc864c9e586ca18d3206d3b23dc7e9 | |
parent | f138f1d7c8d6f6cf629c35870fc3f6e477a0c0d2 (diff) | |
download | configs-2e835086839fe08197c0daf57c78d91401b13099.tar.gz configs-2e835086839fe08197c0daf57c78d91401b13099.tar.xz configs-2e835086839fe08197c0daf57c78d91401b13099.zip |
Sign and sign-off commits by default
Signed-off-by: Amin Bandali <amin@aminb.org>
-rw-r--r-- | git/.gitconfig | 5 | ||||
-rw-r--r-- | spacemacs/.spacemacs | 3 |
2 files changed, 7 insertions, 1 deletions
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 |