summaryrefslogtreecommitdiff
path: root/.gitconfig
blob: 404f538b4c6db2f82602a9f91d51880d518243da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[core]
	pager = nvim -u NORC -R -
[color]
	ui = false
[difftool]
	prompt = false
[diff]
	tool = nvimdiff
[difftool "nvimdiff"]
	cmd = nvim -d $LOCAL $REMOTE
[commit]
	gpgsign = true
[user]
	email = listout@protonmail.com
	name = listout
[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\")