Perforce - Ignoring Files

To avoid adding and checking in files that do not belong in the repository, you can exclude individual files or file types (for example, build or release artifacts) from source control using Ignore Lists. For more information, see Excluding Files from Helix Server Control.

You can set the following preferences: