What files to add to my version control (git,svn,etc..) from my Visual Studio project?

I guess ultimately the question is what NOT to take into your code versioning system… This is the contents of my .gitignore file… there may be other things which need to be ignored but that’s what I use:

Backup/
Debug/
Release/
bin/
obj/
_UpgradeReport_Files/
CodeAnalyst/
*.csproj*
*.user
*.suo
*.ncb
*.dll
*.exe
*.pdb
ipch/
*.sdf
*.opensdf
*.vsmdi
*.proj
*.rej
*.orig
*.bak

Leave a Reply

Your email address will not be published. Required fields are marked *