diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2026-08-02 14:48:29 +0200 |
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2026-08-02 14:48:29 +0200 |
| commit | e43eb1177872f52e949fb5f0f93396ed94b0d093 (patch) | |
| tree | 78b73af6a989fa2996d71b112e161b70d35081ef /home/dot_config/git | |
| parent | 2f14a896e4b897bd747c24d7ad8e9e7bb3237d03 (diff) | |
move to chezmoi
Diffstat (limited to 'home/dot_config/git')
| -rw-r--r-- | home/dot_config/git/config.tmpl | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/home/dot_config/git/config.tmpl b/home/dot_config/git/config.tmpl new file mode 100644 index 0000000..9202c61 --- /dev/null +++ b/home/dot_config/git/config.tmpl @@ -0,0 +1,53 @@ +[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 + 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 |