Created
July 31, 2020 16:15
-
-
Save dcchambers/b74e4f793d2d85320119301c8dc27a3c to your computer and use it in GitHub Desktop.
Git Config to handle multiple email addresses.
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 = Dakota Chambers | |
email = REDACTED | |
[core] | |
ignorecase = false | |
[url "ssh://[email protected]/"] | |
insteadOf = https://github.com/ | |
# Load Zendesk specific config | |
[includeIf "gitdir:~/Code/zendesk/"] | |
path = .gitconfig-zendesk | |
## .gitconfig-work will have updated email in it like so: | |
## [user] | |
## email = [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment