From 7f60d88f309a60cb5fcb56697368565d7b242f8a Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Wed, 28 Feb 2024 07:55:03 -0500 Subject: [PATCH] automatically use autosquash for rebase --- modules/common/shell/git.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/common/shell/git.nix b/modules/common/shell/git.nix index 2eb777b..f23608f 100644 --- a/modules/common/shell/git.nix +++ b/modules/common/shell/git.nix @@ -33,6 +33,7 @@ in { pull = { ff = "only"; }; push = { autoSetupRemote = "true"; }; init = { defaultBranch = "master"; }; + rebase = { autosquash = "true"; }; }; ignores = [ ".direnv/**" "result" ]; includes = [{