afa03c07e8a054f307a83ab3d979b01cdc5871d6
[~bandali/configs] / .config / git / config
1 [user]
2 name = Amin Bandali
3 email = bandali@gnu.org
4 signingKey = BE6273738E616D6D1B3A08E8A21A020248816103
5
6 [commit]
7 gpgSign = true
8
9 # [format]
10 # signoff = true
11
12 [core]
13 autocrlf = input # CRLF -> LF on commit
14 editor = emacsclient -t
15 pager = "less"
16
17 [mailmap]
18 file = ~/.config/git/mailmap
19
20 [alias]
21 git = !exec git # handle nested git calls, e.g. git git status
22 aliases = config --get-regexp '^alias\\.'
23 a = add
24 s = status
25 sl = status --long
26 c = checkout
27 cb = checkout -b
28 b = branch
29 r = rebase
30 p = pull
31 pr = pull --rebase
32 ps = push
33 psf = push --force
34 nmam = "!f() { notmuch show --format=raw $1 | git am -; }; f"
35 nmam3 = "!f() { notmuch show --format=raw $1 | git am -3 -; }; f"
36 gnu = config user.email 'bandali@gnu.org'
37 kelar = config user.email 'bandali@kelar.org'
38 sfl = config user.email 'amin.bandali@savoirfairelinux.com'
39 canonical = config user.email 'amin.bandali@canonical.com'
40
41 [color]
42 ui = auto
43 [color "status"]
44 added = green bold
45 changed = red bold
46 untracked = red bold
47 [color "branch"]
48 current = green bold
49 remote = magenta bold
50 [color "diff"]
51 new = green bold
52 old = red bold
53
54 # [status]
55 # # showUntrackedFiles = all
56 # short=true
57 # branch=true
58
59 [github]
60 user = bandali0
61
62 [sendemail]
63 smtpuser = bandali
64 smtpserver = fencepost.gnu.org
65 smtpserverport = 587
66 smtpencryption = tls
67 annotate = yes
68
69 [transfer]
70 fsckObjects = true
71
72 [init]
73 defaultBranch = main