feat(git): add GPG signing

This commit is contained in:
Victor Westerlund 2025-03-23 10:14:25 +01:00
parent 2281e92464
commit 605a18b1e7
Signed by: vlw
GPG key ID: D0AD730E1057DFC6
2 changed files with 7 additions and 0 deletions

View file

@ -3,6 +3,9 @@ if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# Export GPG_TTY for signing stuff with gpg
export GPG_TTY=$(tty)
# Create pathref envars to my frameworks
export VV="/var/www/fw/vegvisir/"
export REFL="/var/www/fw/reflect/"

View file

@ -1,6 +1,8 @@
[user]
email = victor@vlw.se
name = Victor Westerlund
signingkey = DCE987311CB5D2A252F58951D0AD730E1057DFC6
signkey = 1057DFC6
[core]
fileMode = false
excludesfile = ~/.config/git/.gitignore
@ -13,3 +15,5 @@
contenttype = 0
[help]
autocorrect = prompt
[commit]
gpgsign = true