Created
June 3, 2020 21:30
-
-
Save npearce/8dc007b9a0265bfea7fb87d487957874 to your computer and use it in GitHub Desktop.
gitconfig setup for using different github accounts for repositories
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
# ~/.gitconfig | |
# `useHttpPath` tells git to match the ENTIRE path. It's all or none, baby. | |
[user] | |
name = <Your Name> | |
email = your.email@example.com | |
[credential] | |
useHttpPath = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment