Created
February 22, 2019 02:10
-
-
Save overtrue/82b9d3b1851d0277aae904dd3cfebaab to your computer and use it in GitHub Desktop.
git conditional includes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[includeIf "gitdir:~/www/"] | |
path = .gitconfig-personal | |
[includeIf "gitdir:~/work/"] | |
path = .gitconfig-work | |
// .gitconfig-personal | |
[user] | |
email=[email protected] | |
name=xxxx | |
// .gitconfig-work | |
[user] | |
email=[email protected] | |
name=xxxx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment