for Windows and Linux
for macOS
Ctrl+Alt+S
The dialog box opens when you click the
Add
or
Edit
button on the
Ignored Files page.
Use this dialog to configure rules that define which files and folders should be ignored by version control systems. The files you want to ignore can be appointed explicitly by their names of through name patterns with wildcards. To ignore a directory, you need to specify the full path to it relative to the project root.
You can only ignore unversioned files, i.e. files that have not yet been put under version control.
Select the relevant option and fill in the text box next to it.
| Item | Description |
|---|---|
| Ignore specified file | In this text box, specify the name of the file to be ignored. Do one of the following:
|
| Ignore all files under | In this text box, specify the name of the directory to be ignored. Do one of the following:
The rule is applied recursively to all subdirectories of the specified directory. If a directory has several subdirectories and you want only one of them ignored,
specify the required directory explicitly, for example, |
| Ignore all files matching | In this text box, specify a pattern that defines the names of files to ignore.
The rule is applied to all directories under the project root.
Using wildcards in combination with slashes ( |
and
select the desired file in the