Talent wins games, but teamwork and intelligence wins championships!

Working with perforce

The following is a quick overview of the most common Perforce commands:

p4 sync - Sync up with the latest sources
p4 edit - Open a file for editing
p4 add - Add a new file to the repository
p4 delete - Delete a file from the repository
p4 resolve - Resolve conflicts if two people edit the same file
p4 revert - Revert changes for a currently opened file
p4 submit - Submit all changes to the repository
p4 opened - List all files you currently have opened

Even to change any single file you must have the entire code base check out.

-integrate Schedule integration from one file to another
[usage] p4 integrate [FROM] [TO]
*Nore both FROM and TO must be complete file path from //depo or //std on

-p4 have Lists all file revisions that the Perforce server knows you have in the client workspace.
-p4 sync -n Reports what files would be updated in the client workspace by p4 sync without actually performing the sync operation

Before you can read or write to the Perforce repository you will need to get an account on the Perforce server. Request your account this will also give you an opportunity to introduce yourself to the community and tell us a little about you plan to do.

Once you have downloaded the P4 binary and put it on your path, you want to set the following environment variables: