* .config/git/config: Set defaultBranch to main.
[~bandali/configs] / .config / git / config
index 993b9a8..afa03c0 100644 (file)
@@ -1,5 +1,10 @@
 [user]
        name = Amin Bandali
+       email = bandali@gnu.org
+       signingKey = BE6273738E616D6D1B3A08E8A21A020248816103
+
+[commit]
+       gpgSign = true
 
 # [format]
 #      signoff = true
        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'
+       gnu = config user.email 'bandali@gnu.org'
+       kelar = config user.email 'bandali@kelar.org'
+       sfl = config user.email 'amin.bandali@savoirfairelinux.com'
+       canonical = config user.email 'amin.bandali@canonical.com'
 
 [color]
        ui = auto
 #      branch=true
 
 [github]
-       user = notbandali
+       user = bandali0
 
 [sendemail]
        smtpuser = bandali
-       smtpserver = mail.kelar.org
+       smtpserver = fencepost.gnu.org
        smtpserverport = 587
        smtpencryption = tls
        annotate = yes
@@ -70,4 +70,4 @@
        fsckObjects = true
 
 [init]
-       templateDir = ~/.config/git/template
+       defaultBranch = main