Created
March 28, 2022 18:53
-
-
Save tillig/9e282a7370ba71bb7422cc49b60217c5 to your computer and use it in GitHub Desktop.
Conditional .gitconfig setup for separating personal from work settings.
This file contains hidden or 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
git config -f ~/.gitconfig-personal user.name "Travis Illig" | |
git config -f ~/.gitconfig-personal user.email "[email protected]" | |
git config --global includeIf.gitdir:~/dev/tillig/.path ~/.gitconfig-personal | |
git config --global includeIf.gitdir:~/dev/autofac/.path ~/.gitconfig-personal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment