Ignore items when performing P4 One actions
Your project may contain files or folders you do not want to version. P4 One automatically ignores hidden files, such as .DS_Store files on macOS. To exclude other files or file types from versioning, you can indicate for P4 One to ignore them. Ignored files are not included when performing P4 One actions, such as restoring a version or submitting a version to P4 Server.
-
In the file view, right-click the item to ignore, choose Ignore, and select an option.
P4 One configuration file named .p4oneconfig.yaml is automatically created in the workspace folder. This file contains patterns that are matched again item names in your project to determine if they should be ignored or not.
- Ignore "<ItemName>" ignores all files in the workspace that have a matching file name and extension. If you selected a folder to ignore, any folders with the matching file name are ignored.
-
All items with the extension "<extension>" ignores all files in the workspace that have a matching extension only.
If you decide to include ignored files in versioning again, you can undo the ignore. To learn more, see Undo ignored items.