I have .gitignore file as:
MyCompany.MyProject.OAuth/bin/
!MyCompany.MyProject.OAuth/bin/Debug/MyCompany.MyProject.OAuth.dll
For some reason source tree showing "MyCompany.MyProject.OAuth.dll" in commit list and some other files like;
MyCompany.MyProject.OAuth/bin/Debug/AutoMapper.xml
MyCompany.MyProject.OAuth/bin/Debug/Castle.Core.xml
MyCompany.MyProject.OAuth/bin/Debug/Castle.Windsor.xml
MyCompany.MyProject.OAuth/bin/Debug/Newtonsoft.Json.xml
MyCompany.MyProject.OAuth/bin/Debug/MyCompany.MyProject.OAuth.dll
MyCompany.MyProject.OAuth/bin/Debug/MyCompany.MyProject.OAuth.dll.config
If I remove second line file ignore file it removes everything in this case (as expected). All I want is to include "MyCompany.MyProject.OAuth.dll"
It is doing a wildcard match or something? and ideas?