Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Like <a href="https://stackoverflow.com/users/147333/corey-d">Corey D</a> has <a href="https://stackoverflow.com/questions/1273921/what-should-not-be-under-source-control/1273943#1273943">said</a> anything that is generated, specifically anything that is generated by the build process and development environment are good candidates. For instance:</p> <ul> <li>Binaries and installers</li> <li>Bytecode and archives</li> <li>Documents generated from XML and code</li> <li>Code generated by templates and code generators</li> <li>IDE settings files</li> <li>Backup files generated by your IDE or editor</li> </ul> <p>Some exceptions to the above could be:</p> <ul> <li>Images and video</li> <li>Third party libraries</li> <li>Team specific IDE settings files</li> </ul> <p>Take third party libraries, if you need to ship or your build depends on a third party library it wouldn't be unreasonable to put it under source control, especially if you don't have the source. Also consider some source control systems aren't very efficient at storing binary blobs and you probably will not be able to take advantage of the systems diff tools for those files.</p> <p><a href="https://stackoverflow.com/users/104021/paul-biggar">Paul</a> also makes a great comment about generated files and you should check out his <a href="https://stackoverflow.com/questions/1273921/what-should-not-be-under-source-control/1275259#1275259">answer</a>:</p> <blockquote> <p>Basically, if you can't reasonably expect a developer to have the exact version of the exact tool they need, there is a case for putting the generated files in version control.</p> </blockquote> <p>With all that being said ultimately you'll need to consider what you put under source control on a case by case basis. Defining a hard list of what and what not to put under it will only work for some and only probably for so long. And of course the more files you add to source control the longer it will take to update your working copy.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload