From ba36643dd9e4d043bf65da5c1b914ea981b11193 Mon Sep 17 00:00:00 2001 From: cy Date: Wed, 1 Jan 2025 03:01:36 -0500 Subject: [PATCH] nicer git config --- home/yt/common.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/yt/common.nix b/home/yt/common.nix index b3146f3..bf780c3 100644 --- a/home/yt/common.nix +++ b/home/yt/common.nix @@ -34,9 +34,9 @@ userEmail = "hi@cything.io"; delta.enable = true; extraConfig = { - init = { - "defaultBranch" = "main"; - }; + init.defaultBranch = "main"; + push.autoSetupRemote = true; # assume -u on first push + pull.ff = "only"; }; }; programs.ripgrep.enable = true;