I am using GitHub for Windows to commit files. My .gitignore
looks like:
bin/*
!bin/IncludeThis.dll
I want to only include this binary, and not any others in any bin
directories. However, this pattern is including all files in the App/bin/
directory (including the one I want).
If I change it to:
bin/
!bin/IncludeThis.dll
Then the whole App/bin/
directory is excluded (as expected). Any suggestions? Is this a bug in Github for Windows?