Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What files generated by Visual Studio should I commit?

The problem I'm facing is that it seems that some of the files generated by Visual Studio are not necessary for commits.

Aside from the obvious things not to commit, what other files should I not commit? Do I need to commit .manifest files, etc.?

A different way of saying it: what files are needed to recreate the project I'm working on, and what files can be auto-generated?

Thanks!

like image 202
Jonathan Chan Avatar asked Sep 05 '10 08:09

Jonathan Chan


1 Answers

The files I usually don't commit are: *.suo and *.user. I commit most other files.

Binary files can be committed or not depending on your company policy. In theory you should be able to recreate them again from the source code, but in practice it is a good idea to have an exact copy of anything you have sent out to a customer. So at least for releases the binaries should be committed.

like image 72
Mark Byers Avatar answered Oct 24 '22 03:10

Mark Byers