Created
January 29, 2024 22:56
-
-
Save skarllot/d6a56f9867ef5cd5b981193bb2463e45 to your computer and use it in GitHub Desktop.
Git config include (Windows)
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
# Global | |
[includeIf "gitdir/i:C:/Users/<user>/Source/repos/github/<user>/"] | |
path = C:/Users/<user>/Source/repos/github/<user>/.gitconfig | |
[includeIf "gitdir/i:~/Source/repos/github/<user>/"] | |
path = ~/Source/repos/github/<user>/.gitconfig | |
# Path | |
[user] | |
email = <email> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The drive letter must be upper-case and trailing slash is mandatory