Ignoring Generated Files

| | Comments (0)

All source files in a project must be in version-control, but the generated files (such as python ".pyc" files) must be ignored, and not placed in version-control or listed in version-control status.

The files in the source directory are either version-controlled or "generated" files. No generated files should be stored in the version-control except those that are also manually modified, such as Qt Translation Files (.ts).

Property svn:ignore

To ignore these files we use the svn property called "svn:ignore". It has a list of masks that must be ignored in the assigned directory. This property can only be assigned to directories.

Leave a comment