* .config/git/config: Add l alias for log.
[~bandali/configs] / .config / git / config
... / ...
CommitLineData
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 l = log
27 c = checkout
28 cb = checkout -b
29 b = branch
30 r = rebase
31 p = pull
32 pr = pull --rebase
33 ps = push
34 psf = push --force
35 nmam = "!f() { notmuch show --format=raw $1 | git am -; }; f"
36 nmam3 = "!f() { notmuch show --format=raw $1 | git am -3 -; }; f"
37 gnu = config user.email 'bandali@gnu.org'
38 kelar = config user.email 'bandali@kelar.org'
39 sfl = config user.email 'amin.bandali@savoirfairelinux.com'
40 canonical = config user.email 'amin.bandali@canonical.com'
41
42[color]
43 ui = auto
44[color "status"]
45 added = green bold
46 changed = red bold
47 untracked = red bold
48[color "branch"]
49 current = green bold
50 remote = magenta bold
51[color "diff"]
52 new = green bold
53 old = red bold
54
55# [status]
56# # showUntrackedFiles = all
57# short=true
58# branch=true
59
60[github]
61 user = bandali0
62
63[sendemail]
64 smtpuser = bandali
65 smtpserver = fencepost.gnu.org
66 smtpserverport = 587
67 smtpencryption = tls
68 annotate = yes
69
70[transfer]
71 fsckObjects = true
72
73[init]
74 defaultBranch = main