diff options
author | stuebinm | 2025-03-15 18:36:33 +0100 |
---|---|---|
committer | stuebinm | 2025-03-15 18:36:33 +0100 |
commit | 4a2fa323381b2b80ad9da46f9807abf12f23ad9e (patch) | |
tree | 90bee196bde0f1febf5c1ebd43ad4f121dc1996f /home/home-minimal.nix | |
parent | b81f45c8b2466496562e6b9ba31e1d6d04ef3562 (diff) |
home/minimal: further git options
Diffstat (limited to '')
-rw-r--r-- | home/home-minimal.nix | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/home/home-minimal.nix b/home/home-minimal.nix index 78d6014..cfeb2b2 100644 --- a/home/home-minimal.nix +++ b/home/home-minimal.nix @@ -131,13 +131,26 @@ extraConfig = { log.showSignature = true; init.defaultBranch = "main"; - alias.search = "!git log --format='tformat:%h %cs %s' --no-show-signature | fzf --multi --preview 'git show {+1}|bat -p -lpatch --color=always' | cut -f1 -d\" \" | wl-copy -n && wl-paste"; - alias.where = "!fish -c git-where"; merge.conflictStyle = "zdiff3"; push.autoSetupRemote = true; + pull.rebase = true; commit.verbose = true; rerere.enabled = true; branch.sort = "-authordate"; + tag.sort = "version:refname"; + column.ui = "auto"; + + diff = { + algorithm = "histogram"; + colorMoved = "plain"; + mnemoicPrefix = true; + renames = true; + }; + + alias = { + search = "!git log --format='tformat:%h %cs %s' --no-show-signature | fzf --multi --preview 'git show {+1}|bat -p -lpatch --color=always' | cut -f1 -d\" \" | wl-copy -n && wl-paste"; + where = "!fish -c git-where"; + }; merge.mergiraf = { name = "mergiraf"; |