feat(git): enable autostash

This commit is contained in:
Nickolaj Jepsen 2025-04-07 08:56:52 +02:00
parent 843734e786
commit 41d44638b3

View file

@ -1,4 +1,8 @@
{pkgs, lib, ...}: { {
pkgs,
lib,
...
}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git git
gh gh
@ -16,7 +20,8 @@
gpg.ssh.program = "op-ssh-sign"; gpg.ssh.program = "op-ssh-sign";
push.autosetupremote = "true"; push.autosetupremote = "true";
pull.rebase = "true"; pull.rebase = "true";
rebase.autosqush = "true"; rebase.autosquash = "true";
rebase.autoStash = "true";
rerere.enabled = true; rerere.enabled = true;
init.defaultBranch = "main"; init.defaultBranch = "main";
}; };