Skip to content

Instantly share code, notes, and snippets.

@dcchambers
Created July 31, 2020 16:15
Show Gist options
  • Save dcchambers/b74e4f793d2d85320119301c8dc27a3c to your computer and use it in GitHub Desktop.
Save dcchambers/b74e4f793d2d85320119301c8dc27a3c to your computer and use it in GitHub Desktop.
Git Config to handle multiple email addresses.
[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