git: organise extraConfig values

This commit is contained in:
Oliver Davies 2024-07-09 14:25:00 +01:00
parent 2fbf67507f
commit 5bf2253f98

View file

@ -105,40 +105,47 @@
autosetuprebase = "always"; autosetuprebase = "always";
sort = "-committerdate"; sort = "-committerdate";
}; };
checkout.defaultRemote = "origin"; checkout.defaultRemote = "origin";
color.ui = true; color.ui = true;
column.ui = "auto"; column.ui = "auto";
commit = { commit.template = "~/.gitmessage";
template = "~/.gitmessage";
};
core = { core = {
editor = "nvim"; editor = "nvim";
excludesFile = "~/.config/git/ignore"; excludesFile = "~/.config/git/ignore";
pager = "delta"; pager = "delta";
}; };
delta.line-numbers = true; delta.line-numbers = true;
fetch.prune = true; fetch.prune = true;
gpg.format = "ssh"; gpg.format = "ssh";
grep.lineNumber = true; grep.lineNumber = true;
help.autocorrect = "1"; help.autocorrect = "1";
init.defaultBranch = "main"; init.defaultBranch = "main";
maintenance = { maintenance = {
auto = false; auto = false;
strategy = "incremental"; strategy = "incremental";
}; };
merge.ff = "only"; merge.ff = "only";
push = { push = {
autoSetupRemote = true; autoSetupRemote = true;
default = "upstream"; default = "upstream";
}; };
pull = { pull = {
ff = "only"; ff = "only";
rebase = true; rebase = true;
}; };
rebase = { rebase = {
autosquash = true; autosquash = true;
autostash = true; autostash = true;
}; };
user.signingkey = "~/.ssh/id_rsa.pub"; user.signingkey = "~/.ssh/id_rsa.pub";
}; };
}; };