[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