Skip to content

Instantly share code, notes, and snippets.

@tonesandtones
Created November 17, 2021 04:55
Show Gist options
  • Save tonesandtones/df8ede2e87740f272698f3b3a09832f5 to your computer and use it in GitHub Desktop.
Save tonesandtones/df8ede2e87740f272698f3b3a09832f5 to your computer and use it in GitHub Desktop.
Nested git config
# https://stackoverflow.com/a/48088291
[includeIf "gitdir:~/toplevelFolder1/"]
path = ~/topLevelFolder1/.gitconfig_include
[core]
autoclrf = false
@tonesandtones
Copy link
Author

tonesandtones commented May 29, 2023

Adapted from this SO answer https://stackoverflow.com/a/48088291

@tonesandtones
Copy link
Author

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