Last active
April 3, 2023 06:43
-
-
Save blndev/280841b0a00ef27d778b2033b26098d0 to your computer and use it in GitHub Desktop.
Git Configuration for Multiple Accounts at one User
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:~/code/company.io/"] | |
path = ~/code/company.io/.gitconfig | |
[includeIf "gitdir:~/code/github.com/"] | |
path = ~/code/github.com/.gitconfig | |
[includeIf "gitdir:~/code/local/"] | |
path = ~/code/local/.gitconfig |
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
[user] | |
name = Your Name | |
email = your.name@company.com |
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
[user] | |
name = blndev | |
email = blndev@users.noreply.github.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment