Perforce Cookbook
View files in a changelist using changelist number
Changelist > Describe Changelist... > enter changelist number in dialog
Syncing a repo from the command line
2014.1 Command Reference: Sync
At the command prompt make sure you're at the root of the client repo.
p4 -H beckster -p 1666 -u ali -c web-damien sync
-HHost-pPort (1666 is the default)-uUser-cclient
Perforce configuration files
- Configuring Perforce Settings (Perforce Documentation)
- Set the
P4CONFIGenvironment variable to the name of the local configuration file, e.g. ".p4config". - Create the
".p4config"file in the local repo. - Each setting in the file must be specified on its own line, using the format
setting=value.
Example:
P4PORT=tcp:beckster:1666 P4USER=ali P4CLIENT=web-damien