Files
system-config/home-manager/features/git.nix

26 lines
406 B
Nix

{ ... }:
{
programs.git = {
enable = true;
aliases = {
"co" = "checkout";
"s" = "status";
"b" = "branch";
"r" = "remote";
"amend" = "commit -a --amend --no-edit";
"c" = "commit -am";
};
extraConfig = {
core = {
pager = "";
};
pull = {
rebase = true;
};
log = {
date = "iso";
};
};
};
}