summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/settings/git.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/user/settings/git.nix b/user/settings/git.nix
index 18368864..4726120c 100644
--- a/user/settings/git.nix
+++ b/user/settings/git.nix
@@ -17,6 +17,9 @@
       init = {
         defaultBranch = "main";
       };
+      advice = {
+        addEmptyPathspec = false;
+      };
       ghq = {
         root = "${config.home.homeDirectory}/projects";
         user = "alanpearce";