From: Amin Bandali Date: Thu, 4 Aug 2022 03:13:52 +0000 (-0400) Subject: * .config/git/config: Add alias instead of global email/signing preferences. X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/f53becdc1d9326824c04e88bda9a73f601f8e748?ds=inline * .config/git/config: Add alias instead of global email/signing preferences. --- 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