I'm trying to find a way to disable git from following symbolic links on Windows 7 while adding/committing files the repo. I've tried setting config.symlinks to false (git config --bool core.symlinks false). Is there a simple solution to disable this behavior?
AFAIK, you can't easily do that on windows. However, you can simply modify your .git/info/exclude file to exclude this folder. It's more a workaround, but as you're using only one folder, it will work well (I've been using that for build folder, which I don't want to pollute my git status)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With