Created
November 17, 2021 04:55
-
-
Save tonesandtones/df8ede2e87740f272698f3b3a09832f5 to your computer and use it in GitHub Desktop.
Nested git config
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
# https://stackoverflow.com/a/48088291 | |
[includeIf "gitdir:~/toplevelFolder1/"] | |
path = ~/topLevelFolder1/.gitconfig_include |
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
[core] | |
autoclrf = false |
On Windows use forward slash for all paths, even absolutes, eg, C:/directory/subdirectory
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adapted from this SO answer https://stackoverflow.com/a/48088291