blob: f83efeb61d467be7becd69d64eaa763d9662a5ae (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
[init]
defaultBranch = {{ dig "git" "default_branch" "master" . }}
[core]
quotepath = off
[user]
{{- with (dig "git" "email" nil .) }}
email = {{ . }}
{{- end }}
{{- with (dig "git" "name" nil .) }}
name = {{ . }}
{{- end }}
{{- with (dig "git" "gpg_id" nil .) }}
signingkey = {{ . }}
[commit]
gpgsign = true
[gpg]
program = {{ env "XDG_DATA_HOME" }}/bin/gpg-git
{{- end }}
[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
nuke = !git reset --hard && git clean -fxd
[pager]
log = delta
show = delta
diff = delta
blame = delta
[delta]
tabs = 2
side-by-side = false
syntax-theme = base16
[safe]
directory = *
[diff "mozc_config"]
textconv = mozc-config-filter
|