commit 8c469904ae8022feaa4f2f91d4d5f63277679844
parent 01a40ad00525928f1960c72f1af7ce115073a3b8
Author: Dimitrije Dobrota <mail@dimitrijedobrota.com>
Date: Wed, 12 Jul 2023 23:37:30 +0200
Configure git to use GPG key for signing
Diffstat:
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/.xdg/config/bash/bashrc b/.xdg/config/bash/bashrc
@@ -9,3 +9,5 @@ alias dotfiles='/usr/bin/git --git-dir=/home/magaknuto/.dotfiles --work-tree=/ho
alias wget='wget --hsts-file="$XDG_CONFIG_HOME/wget-hsts"'
export MAKEFLAGS="-j8"
+
+export GPG_TTY="$TTY"
diff --git a/.xdg/config/git/config b/.xdg/config/git/config
@@ -1,7 +1,10 @@
[user]
email = mail@dimitrijedobrota.com
name = Dimitrije Dobrota
+ signingkey = 13BEE767F44D779F
[core]
editor = vim
[init]
defaultBranch = master
+[commit]
+ gpgsign = true