diff options
author | Amin Bandali <bandali@kelar.org> | 2022-08-03 23:13:52 -0400 |
---|---|---|
committer | Amin Bandali <bandali@kelar.org> | 2022-08-03 23:13:52 -0400 |
commit | f53becdc1d9326824c04e88bda9a73f601f8e748 (patch) | |
tree | 8341bc6a54f64872e019a0536602f9468b5f711d /.config/git/config | |
parent | bb65cc2c65192c71b1be24a7f33bf3d2b3a669d6 (diff) | |
download | configs-f53becdc1d9326824c04e88bda9a73f601f8e748.tar.gz configs-f53becdc1d9326824c04e88bda9a73f601f8e748.tar.xz configs-f53becdc1d9326824c04e88bda9a73f601f8e748.zip |
* .config/git/config: Add alias instead of global email/signing preferences.
Diffstat (limited to '')
-rw-r--r-- | .config/git/config | 15 |
1 files changed, 10 insertions, 5 deletions
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 |