Skip to content

Instantly share code, notes, and snippets.

@stephenh
Created July 14, 2022 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephenh/407c2d0ca6b5d5f7a62c6bba6e6e3443 to your computer and use it in GitHub Desktop.
Save stephenh/407c2d0ca6b5d5f7a62c6bba6e6e3443 to your computer and use it in GitHub Desktop.
Multiple git configs
# In your home directory ~.gitconfig
[user]
name = <your name>
email = <personal-email>@gmail.com
# If all Homebound-related code is in your ~/homebound directory
[includeIf "gitdir:~/homebound/"]
path = .gitconfig-homebound
[user]
name = <your name>
email = <corporate-email>@homebound.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment