Ignore items when performing actions

Your project might 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.

All workspaces contain a .p4ignore file. This file contains a list of files and folders to ignore when versioning your project.

You can populate the .p4ignore file by choosing items to ignore in the P4 One file view. You can also manually edit the file.

Previous P4 One versions used a .p4oneconfig.yaml file for ignoring files and folders. Starting with P4 One 2025.2, those files are no longer supported for ignoring files, but remain in workspaces for other purposes in the future. .p4ignore files must be used to ignore files.

In this section: