git: add some neat config options
This commit is contained in:
parent
19551d4e5b
commit
9a1f7cfe75
2 changed files with 96 additions and 11 deletions
|
|
@ -49,22 +49,24 @@ topLevel: {
|
|||
};
|
||||
core = {
|
||||
fsmonitor = true;
|
||||
editor = "hx";
|
||||
};
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
pull = {
|
||||
rebase = true;
|
||||
};
|
||||
push = {
|
||||
autoSetupRemote = true;
|
||||
commit.verbose = true;
|
||||
init.defaultBranch = "main";
|
||||
pull.rebase = true;
|
||||
fetch = {
|
||||
prune = true;
|
||||
pruneTags = true;
|
||||
};
|
||||
push.autoSetupRemote = true;
|
||||
rebase = {
|
||||
autoStash = true;
|
||||
autoSquash = true;
|
||||
};
|
||||
safe = {
|
||||
directory = "/home/${username}/projects/config";
|
||||
};
|
||||
merge.conflictstyle = "zdiff3";
|
||||
safe.directory = "/home/${username}/projects/config";
|
||||
submodules.recurse = true;
|
||||
help.autocorrect = "prompt";
|
||||
maintenance = {
|
||||
repo = [
|
||||
"/home/${username}/projects/NixOS/nixpkgs"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue