git enable signoff and change mergetool

Signed-off-by: cy <cy@cy7.sh>
This commit is contained in:
cy 2025-01-24 05:44:35 -05:00
parent 947249cc79
commit 4fa0aed92e
2 changed files with 8 additions and 7 deletions

View file

@ -44,7 +44,11 @@
rebase = true;
autostash = true;
};
merge.tool = "vimdiff";
merge = {
tool = "vimdiff";
keepBackup = false;
prompt = false;
};
rebase = {
stat = true;
autoStash = true;
@ -52,10 +56,7 @@
updateRefs = true;
};
help.autocorrect = 1;
mergetool = {
prompt = false;
path = "nvim-open";
};
"mergetool \"vimdiff\"".cmd = "nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'";
};
};
programs.ripgrep.enable = true;