Do you avoid limiting source control to just code?
  v3.0 Posted at 7/05/2014 2:03 PM by System Account
    You can spend valuable developer time on every part of a project. The bulk of time is normally spent on coding up .cs, .vb, .resx and .aspx files. However, you could potentially have the following happen if you do not include other files in source control:
  • lose work
  • lose old versions of work
  • have work overwritten
    In particular, you should make it as easy as possible to see who changed what and who deleted what and allow a simple rollback to previous versions of non-code files. Files you should put in source control include:
  • XSL files
  • Word documents
  • Excel Spreadsheets
  • Visio Diagrams
  • HTML files
  • Image files, Flash animations and psd files  (yes this takes room in your source control database - but we still want to be able to revert to an old version easily)
    Things you don't store are:
  • Video files eg. avi
  • Installers eg. .msi

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address: