Permalink
Browse files

Git: add per-machine config

Git will now read per-machine overrides from the file
~/.gitconfig.local, if present.

The main use case for me here is to have a generic config, with specific
overrides for work and personal machines (eg. user.name, user.email).

Requires Git 1.7.10 or later.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
  • Loading branch information...
1 parent 166e13a commit f445fb721ed64d1b0f5b27d24dc4fd2c1cc7b573 @wincent committed Mar 27, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 .gitconfig
View
@@ -34,3 +34,5 @@
autosquash = true
[rerere]
enabled = true
+[include]
+ path = .gitconfig.local

0 comments on commit f445fb7

Please sign in to comment.