From ddae1cfb1ecaa913453fb0721123377f424524d2 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Tue, 30 Jan 2024 09:26:45 +0100 Subject: [PATCH] feat(age): add age filter --- dot_gitconfig.tmpl | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index 1e22d4b..d4a28dd 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -11,12 +11,6 @@ colorMoved = default tool = difftastic -[pager] - difftool = true - -[pull] - rebase = true - [difftool] prompt = false @@ -31,23 +25,37 @@ side-by-side = true inspect-raw-lines = false -[diff] +[pager] + difftool = true + +[pull] + rebase = true + +[push] + autoSetupRemote = true [interactive] diffFilter = delta --color-only [alias] dft = difftool + [credential] helper = rbw -[push] - autoSetupRemote = true + +[commit] + gpgsign = true + +[init] + defaultBranch = main + [filter "lfs"] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true -[commit] - gpgsign = true -[init] - defaultBranch = main + +[filter "age"] + clean = git-age clean -- %f + smudge = git-age smudge -- %f + required = true