new git config

This commit is contained in:
cy 2025-01-01 04:28:11 -05:00
parent 7a08f92097
commit 939bc6b64c

View file

@ -32,11 +32,31 @@
enable = true;
userName = "cy";
userEmail = "hi@cything.io";
delta.enable = true;
delta = {
enable = true;
options = {
navigate = true;
};
};
extraConfig = {
init.defaultBranch = "main";
push.autoSetupRemote = true; # assume -u on first push
pull.ff = "only";
pull = {
rebase = true;
autostash = true;
};
merge.tool = "vimdiff";
rebase = {
stat = true;
autoStash = true;
autoSquash = true;
updateRefs = true;
};
help.autocorrect = 1;
mergetool = {
prompt = false;
path = "nvim-open";
};
};
};
programs.ripgrep.enable = true;