From c76b0d0223259dcf06fa726a6c01172ed66ee41a Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 7 Feb 2020 22:36:00 +0100 Subject: [PATCH] Sign commits by default By default use the gpg signing key to sign any commit made from this machine, or with the help of these dotfiles. --- git/.config/git/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git/.config/git/config b/git/.config/git/config index a97220c..7e642b7 100644 --- a/git/.config/git/config +++ b/git/.config/git/config @@ -1,6 +1,7 @@ [user] email = marty.oehme@gmail.com name = Marty Oehme + signingkey = 0CCB0526EFB9611A [filter "lfs"] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f @@ -9,3 +10,5 @@ [alias] ignore = "!gitignore -f" pushmerge = "push -o merge_request.merge_when_pipeline_succeeds" # see https://docs.gitlab.com/ce/user/project/push_options.html#merge-when-pipeline-succeeds-alias +[commit] + gpgsign = true