I have a C# Visual Studio project in a git repository. I want to ignore the contents bin/Debug
directory but not the contents of the bin/Release
\' dire
This works for me:
*.exe
*.pdb
*.manifest
*.cache
If you are using GitHub Desktop as I am using it, you can just right click the file you want to exclude or right click it and exclude by extension:
This will automatically generate a .gitignore
file for you with the code like above. You can download GitHub Desktop here: GitHub Desktop for Windows 64-bit.