diff --git a/common/home-manager.nix b/common/home-manager.nix index 984d160..74f550b 100644 --- a/common/home-manager.nix +++ b/common/home-manager.nix @@ -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" ]; };