aboutsummaryrefslogtreecommitdiff
path: root/.config/git/config##template
blob: 0a3418a1e0d26e4e61a65798ec44e8c3d8c43da1 (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
37
38
39
40
41
42
43
[init]
	defaultBranch = master
[core]
	quotepath = off
[user]
	email = loek@pipeframe.xyz
	name = Loek Le Blansch
	signingkey = {{ env.GPG_ID_GIT }}
[commit]
	gpgsign = true
[gpg]
	program = {{ env.XDG_DATA_HOME }}/bin/gpg-git
[credential]
	helper = cache --timeout 7200
	helper = store
[color]
	ui = true
[filter "lfs"]
	clean = git-lfs clean -- %f
	smudge = git-lfs smudge -- %f
	process = git-lfs filter-process
	required = true
[pull]
	rebase = false
[alias]
	adda = add -A
	a = add -A
	c = commit
	s = status
	ps = push
	psa = !git remote | xargs -L1 -P0 -- git push
	pl = pull
	l = log
	d = diff
	cloc = !git ls-files -z | xargs -0 cloc
	conflict = !git diff --name-only --diff-filter=U --relative
	ec = !git conflict -z | xargs -0 -- $EDITOR
	ours = !git conflict -z | xargs -0 -- git checkout --ours
	theirs = !git conflict -z | xargs -0 -- git checkout --theirs
[pager]
	log = diff-highlight | less
	show = diff-highlight | less
	diff = diff-highlight | less