Git / Windows - How do I stop git from following symbolic links?
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 c开发者_运维问答onfig --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)
精彩评论