Created
September 1, 2020 22:35
-
-
Save theparticleman/90a79b5c2a2d1722ac7a0086dec4842a to your computer and use it in GitHub Desktop.
Different email addresses for different repos in Git
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
# Originally from | |
# https://www.kevinkuszyk.com/2018/12/10/git-tips-6-using-git-with-multiple-email-addresses/ | |
# and | |
# https://stackoverflow.com/questions/43919191/git-2-13-conditional-config-on-windows | |
[includeIf "gitdir:C:/code/"] | |
path = .gitconfig-emmersion | |
[includeIf "gitdir:C:/Users/Jon/Personal/"] | |
path = .gitconfig-personal | |
[user] | |
name = Jon Turner |
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] | |
email = [email protected] |
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] | |
email = [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment