summaryrefslogtreecommitdiffstats
path: root/.config/git/config
blob: a56c1823a6f0d1221db7e443c0f561110c7490e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[user]
	name = Amin Bandali
	email = mab@gnu.org
	signingkey = BE6273738E616D6D1B3A08E8A21A020248816103

[commit]
	gpgsign = true

# [format]
# 	signoff = true

[core]
	autocrlf = input  # CRLF -> LF on commit
	editor = emacsclient -t
	pager = "less"

[mailmap]
	file = ~/.config/git/mailmap

[alias]
	git = !exec git	 # handle nested git calls, e.g. git git status
	aliases = config --get-regexp '^alias\\.'
	a = add
	s = status
	sl = status --long
	c = checkout
	cb = checkout -b
	b = branch
	r = rebase
	p = pull
	pr = pull --rebase
	ps = push
	psf = push --force
	nmam = "!f() { notmuch show --format=raw $1 | git am -; }; f"
	nmam3 = "!f() { notmuch show --format=raw $1 | git am -3 -; }; f"

[color]
	ui = auto
[color "status"]
	added = green bold
	changed = red bold
	untracked = red bold
[color "branch"]
	current = green bold
	remote = magenta bold
[color "diff"]
	new = green bold
	old = red bold

# [status]
# 	# showUntrackedFiles = all
# 	short=true
# 	branch=true

[github]
	user = mabgnu

[sendemail]
	smtpuser = mab
	smtpserver = fencepost.gnu.org
	smtpserverport = 587
	smtpencryption = tls
	annotate = yes

[transfer]
	fsckObjects = true