From 41d44638b3ba059d51d669d59c20592bfc6e8dbc Mon Sep 17 00:00:00 2001 From: Nickolaj Jepsen Date: Mon, 7 Apr 2025 08:56:52 +0200 Subject: [PATCH] feat(git): enable autostash --- modules/shell/git.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/shell/git.nix b/modules/shell/git.nix index 86917c5..4fe3d23 100644 --- a/modules/shell/git.nix +++ b/modules/shell/git.nix @@ -1,4 +1,8 @@ -{pkgs, lib, ...}: { +{ + pkgs, + lib, + ... +}: { environment.systemPackages = with pkgs; [ git gh @@ -16,7 +20,8 @@ gpg.ssh.program = "op-ssh-sign"; push.autosetupremote = "true"; pull.rebase = "true"; - rebase.autosqush = "true"; + rebase.autosquash = "true"; + rebase.autoStash = "true"; rerere.enabled = true; init.defaultBranch = "main"; };