Created
July 16, 2021 06:49
-
-
Save kohrongying/78c4396e2953507a403d426d3f7ee557 to your computer and use it in GitHub Desktop.
Git config for multiple projects
This file contains hidden or 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 = rongying | |
| email = work@work.com | |
| [includeIf "gitdir:~/Documents/ry/"] | |
| path = ~/Documents/ry/.gitconfig |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run
git config user.nameorgit config user.emailin the project directory with git initialized.Run
git config --listto view the config.