feat: configure git

This commit is contained in:
Michael Mandl 2022-06-20 08:15:18 +02:00
parent 5b5157fab4
commit 3f5ea458f5

View file

@ -52,6 +52,23 @@
white = "#fdf6e3";
};
};
git = {
enable = true;
userName = "Michael Mandl";
userEmail = "mandlm@molez.net";
extraConfig = {
core.editor = "nvim";
fetch.writeCommitGraph = true;
format.pretty = "format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s";
init.defaultBranch = "main";
log.date = "relative";
pull.rebase = true;
rebase.autostash = true;
rerere.enabled = true;
worktree.guessRemote = true;
};
};
};
};