Ignoring Files and Folders during Deliveries

You can exclude specific files, folders, and file types from deliveries, for example:

- backup files

- built artifacts

To exclude items you define ignore rules in a .dmignore file. Each location (a folder or directory) has a single .dmignore file but you can have multiple ignore files across a hierarchy of folders. You can also apply ignore rules recursively, for example, you can ignore all *.tmp files in the current folder and all child folders.

NOTE

- Rules are case insensitive on Windows and case sensitive on Linux.

- You can use the following wildcards:

- Asterisk (*): represents one or more characters.

- Question mark (?): represents one character.

- In wizards where you deliver changes you can optionally disable ignore rules. For example, you may want to deliver all files, including those that you do not normally need to control.

- To edit .dmignore files in a language that corresponds to your locale, on your machine check the language settings for non-Unicode programs.

- Ignore rules are not the same as the include and exclude local files filters in the Merge, Synchronize, and Deliver wizards.