I wan to place a VB.NET project under Git control in Windows (was previously under Visual Source Safe – long sad story of repository corruption, etc.). How should I set up the ignore file? The exclusions I’m thinking of using are:
- *.exe
- *.pdb
- *.manifest
- *.xml
- *.log (is Git case sensitive on Windows? Should I exclude *.l og as well?)
- *.scc (I gather these were left over from Visual Source Safe – maybe I should delete them?)
Is this a sensible list? Should I be excluding directories?
Here’s what I have for my C# projects:
With the bin/obj directories gone, you don’t need to exclude all EXEs, XML files etc – which is handy, as it means you still get to put in the ones you want 🙂 (You might have sample XML files etc.)