From e2747733a494c71ff6685547eaa76f50ec068d62 Mon Sep 17 00:00:00 2001 From: Pierre Martin Date: Thu, 18 Aug 2022 08:06:21 +0200 Subject: [PATCH] feat(git): add convenient configs from blog post see https://betterprogramming.pub/8-advanced-git-commands-university-wont-teach-you-fe63b483d34b --- home.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home.nix b/home.nix index 807b2b1..493801c 100644 --- a/home.nix +++ b/home.nix @@ -397,6 +397,10 @@ source <(kubectl completion zsh) pull.ff = "only"; credential.helper = "store"; init.defaultBranch = "main"; + + # see https://betterprogramming.pub/8-advanced-git-commands-university-wont-teach-you-fe63b483d34b + help.autocorrect = 1; + fetch.prune = true; }; };