add git aliases and enable pull.rebase
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sijmen 2022-08-08 14:14:34 +02:00
parent aa1d297fea
commit ae90629639
1 changed files with 10 additions and 0 deletions

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" ];
};