dotfiles

Clean dotfiles
git clone git://git.dimitrijedobrota.com/dotfiles.git
Log | Files | Refs

commit 6b518f08ab68faf38a2a8835315ef99702243e8d
parent db4bf35fd52cb89a9b2979e47277a50bafa7822d
Author: Dimitrije Dobrota <mail@dimitrijedobrota.com>
Date:   Wed, 12 Jul 2023 23:37:30 +0200

Configure git to use GPG key for signing

Diffstat:
M.xdg/config/bash/bashrc | 2++
M.xdg/config/git/config | 3+++
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/.dotfiles --work-tree=$HOME' 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