From f53becdc1d9326824c04e88bda9a73f601f8e748 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Wed, 3 Aug 2022 23:13:52 -0400 Subject: * .config/git/config: Add alias instead of global email/signing preferences. --- .config/git/config | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to '.config/git/config') diff --git a/.config/git/config b/.config/git/config index 35aba9d..993b9a8 100644 --- a/.config/git/config +++ b/.config/git/config @@ -1,10 +1,5 @@ [user] name = Amin Bandali - email = bandali@kelar.org - signingkey = BE6273738E616D6D1B3A08E8A21A020248816103 - -[commit] - gpgsign = true # [format] # signoff = true @@ -33,6 +28,15 @@ psf = push --force nmam = "!f() { notmuch show --format=raw $1 | git am -; }; f" nmam3 = "!f() { notmuch show --format=raw $1 | git am -3 -; }; f" + gnu = "! \ + git config user.email 'bandali@gnu.org'; \ + git config user.signingKey 'BE6273738E616D6D1B3A08E8A21A020248816103'; \ + git config commit.gpgSign true" + kelar = "! \ + git config user.email 'bandali@kelar.org'; \ + git config user.signingKey 'BE6273738E616D6D1B3A08E8A21A020248816103'; \ + git config commit.gpgSign true" + work = config user.email 'amin.bandali@savoirfairelinux.com' [color] ui = auto @@ -64,5 +68,6 @@ [transfer] fsckObjects = true + [init] templateDir = ~/.config/git/template -- cgit v1.2.3-60-g2f50