X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/76f5b27c516c99be1aef46debfd3bfa6cf4ed7d6..535c73d96e2cf9adbd2dfa31d87f4b7960359926:/.config/git/config diff --git a/.config/git/config b/.config/git/config index 04a83fb..f1ac520 100644 --- a/.config/git/config +++ b/.config/git/config @@ -1,16 +1,16 @@ [user] name = Amin Bandali - email = bandali@kelar.org - signingkey = BE6273738E616D6D1B3A08E8A21A020248816103 + email = bandali@gnu.org + signingKey = BE6273738E616D6D1B3A08E8A21A020248816103 -[commit] - gpgsign = true +[tag] + gpgSign = true # [format] # signoff = true [core] - autocrlf = input # CRLF -> LF on commit +# autocrlf = input # CRLF -> LF on commit editor = emacsclient -t pager = "less" @@ -23,9 +23,12 @@ a = add s = status sl = status --long + l = log c = checkout cb = checkout -b b = branch + d = diff + f = fetch r = rebase p = pull pr = pull --rebase @@ -33,6 +36,10 @@ 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 = 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 @@ -53,14 +60,36 @@ # branch=true [github] - user = notbandali + user = bandali0 [sendemail] smtpuser = bandali - smtpserver = mail.kelar.org + smtpserver = fencepost.gnu.org smtpserverport = 587 smtpencryption = tls annotate = yes [transfer] fsckObjects = true + +[init] + defaultBranch = main + +[url "bandali@git.launchpad.net:"] + insteadof = lp: +[url "git@salsa.debian.org:"] + insteadof = salsa: +[url "git@salsa.debian.org:gnome-team/"] + insteadof = pkg-gnome: +[url "git@salsa.debian.org:bandali/"] + insteadof = salsa-bandali: +[url "git@github.com:"] + insteadof = gh: +[merge "dpkg-mergechangelogs"] + name = debian/changelog merge driver + driver = dpkg-mergechangelogs -m %O %A %B %A + +[includeIf "gitdir:~/s/canonical/"] + path = ~/.config/git/config.canonical +[includeIf "gitdir:~/s/sfl/"] + path = ~/.config/git/config.sfl