Browse Source

git: add local git config

Thomas Dy 3 months ago
parent
commit
87649e0e38
2 changed files with 4 additions and 0 deletions
  1. 3 0
      .config/git/config
  2. 1 0
      .gitignore

+ 3 - 0
.config/git/config

@@ -53,3 +53,6 @@
 	reset-head = remote set-head origin -a
 	head = for-each-ref --format="%(symref:lstrip=-1)" refs/remotes/origin/HEAD
 	sh = "!git switch $(git head)"
+
+[include]
+	path = ./config.local

+ 1 - 0
.gitignore

@@ -5,6 +5,7 @@
 !.config
 !.config/git
 !.config/git/**
+.config/git/config.local
 !.config/nixpkgs
 !.config/nixpkgs/**
 !.local