summaryrefslogtreecommitdiff
path: root/.config/git/config
blob: 11035c664a3155e13d4f8f58659d7fcd31ccbc7a (plain)
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
[core]
	pager = nvim -R -
[color]
	ui = false
[commit]
	gpgsign = true
[merge]
	tool = vimdiff
[mergetool]
	prompt = true
[mergetool "vimdiff"]
	cmd = nvim -d $LOCAL $REMOTE
[difftool]
	prompt = false
[diff]
	tool = vimdiff
[user]
	email = listout@protonmail.com
	name = listout
	signingkey = listout@protonmail.com
[sendemail]
	smtpserver = smtp.googlemail.com
	smtpencryption = tls
	smtpserverport = 587
	smtpuser = brahmajit.xyz@gmail.com
	suppresscc = self
[alias]
	# list files which have changed since REVIEW_BASE
	# (REVIEW_BASE defaults to 'master' in my zshrc)
	files = !git diff --name-only $(git merge-base HEAD \"$REVIEW_BASE\")

	# Same as above, but with a diff stat instead of just names
	# (better for interactive use)
	stat = !git diff --stat $(git merge-base HEAD \"$REVIEW_BASE\")
	d = diff
	dt = difftool