From 2aec8d4476c1a32d603202fb15560f81b6f2d667 Mon Sep 17 00:00:00 2001 From: Mel Date: Sun, 17 Nov 2024 17:40:32 +0100 Subject: Git rebase automatically on pull Signed-off-by: Mel --- modules/home/common.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/home/common.nix b/modules/home/common.nix index 9e25e71..ba66606 100644 --- a/modules/home/common.nix +++ b/modules/home/common.nix @@ -14,7 +14,10 @@ # ignore most vim swapfiles "*~" "[._]*.sw?" ]; - extraConfig.init.defaultBranch = "main"; + extraConfig = { + init.defaultBranch = "main"; + pull.rebase = true; + }; }; tmux = { -- cgit 1.4.1