new git config
This commit is contained in:
parent
7a08f92097
commit
939bc6b64c
1 changed files with 22 additions and 2 deletions
|
@ -32,11 +32,31 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "cy";
|
userName = "cy";
|
||||||
userEmail = "hi@cything.io";
|
userEmail = "hi@cything.io";
|
||||||
delta.enable = true;
|
delta = {
|
||||||
|
enable = true;
|
||||||
|
options = {
|
||||||
|
navigate = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
push.autoSetupRemote = true; # assume -u on first push
|
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;
|
programs.ripgrep.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue