add git aliases and enable pull.rebase
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sijmen 2022-08-08 14:14:34 +02:00
parent aa1d297fea
commit ae90629639

View file

@ -85,6 +85,15 @@
nsp = "nix-shell -p";
cdnix = "cd /etc/nixos";
ga = "git add";
gc = "git commit";
gcm = "git commit -m";
gl = "git pull";
gla = "git pull --autostash";
gp = "git push";
gpf = "git push --force-with-lease";
tigs = "tig status";
};
};
@ -149,6 +158,7 @@
extraConfig = {
fetch.prune = true;
init.defaultBranch = "main";
pull.rebase = true;
push.autoSetupRemote = true;
safe.directory = [ "/etc/nixos" ];
};