aboutsummaryrefslogtreecommitdiff
path: root/home/git.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/git.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/home/git.nix b/home/git.nix
index 2c69c64..4fbbbb9 100644
--- a/home/git.nix
+++ b/home/git.nix
@@ -33,6 +33,9 @@ in
# abort if the remote branch does not match the local one
push.default = "simple";
+ # https://adamj.eu/tech/2024/01/18/git-improve-diff-histogram/
+ diff.algorithm = "histogram";
+
init.defaultBranch = "main";
pull.rebase = true;