Created
March 29, 2021 15:14
-
-
Save EnixCoda/f32467632b1862e0895d1700cbc420b5 to your computer and use it in GitHub Desktop.
Multiple git configs & users on single machine, require git version >= 2.13
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
[user] | |
name = globalName | |
email = [email protected] | |
useConfigOnly = true # recommended to keep | |
[includeIf "gitdir:~/special-workspace/"] | |
path = ~/special.gitconfig |
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
[user] | |
name = scopedName | |
email = [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment