summary refs log tree commit diff stats
path: root/user/settings/git.nix
diff options
context:
space:
mode:
Diffstat (limited to 'user/settings/git.nix')
-rw-r--r--user/settings/git.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/settings/git.nix b/user/settings/git.nix
index 18368864..769b3728 100644
--- a/user/settings/git.nix
+++ b/user/settings/git.nix
@@ -17,6 +17,11 @@
       init = {
         defaultBranch = "main";
       };
+      advice = {
+        addEmptyPathspec = false;
+        detachedHead = false;
+        mergeConflict = false;
+      };
       ghq = {
         root = "${config.home.homeDirectory}/projects";
         user = "alanpearce";