The p4ignore file lives in the client root directory, and is enabled with the following command:
> p4 set P4IGNORE=p4ignore.txt
When enabled, file paths that match the pattern described will be ignored when adding changes or new files. For example, this is used to exclude build results and tempfiles so as to keep change logs cleaner and prevent unnecessary merge conflicts.