What does p4 diff do?
Description. p4 diff runs a diff program on your workstation that compares files in your workspace to revisions in the depot. This command takes a file argument, which can contain a revision specifier. If a revision specifier is included, the file in the client workspace is diffed against the specified revision.
What is p4 checkout?
Check-out ( p4 edit ) is about getting the latest version from the depot for editing. When files are checked out for edit, their permissions are set to read-write. When files are not checked out, Perforce sets them to read-only.
What is p4 describe?
Description. p4 describe displays the details of one or more changelists. For each changelist, the output includes the changelist number, the changelist creator, the client workspace name, the date the changelist was created, and the changelist description.
What does p4 flush do?
p4 flush can cause commands to behave in unexpected ways, so use it only when the situation is appropriate. See the two Examples. The p4 flush command performs only Step 2 of p4 sync FileSpec two-step operation: Step 1: The file revisions in the FileSpec are copied from the depot to the client workspace.
What is p4 shelve?
The p4 shelve command creates, modifies, or discards shelved files in a pending changelist. Shelved files persist in the depot until they are discarded (by means of p4 shelve -d ) or replaced by subsequent p4 shelve commands. p4 shelve displays the working revision for the files being shelved.
What is p4 add?
Description. p4 add opens files within the client workspace for addition to the depot. The specified files are linked to a changelist. The command can add files to a new, empty depot or to a depot that already contains files. The files are added to the depot when the changelist is committed with p4 submit .
What does p4 integrate do?
In its simplest form, p4 integrate -b branchname -s fromFile allows you to integrate files using the source/target mappings included in the branch view of branchname , but include only those source files that match the patterns specified by fromFile .
What does p4 update do?
Description. p4 sync brings the client workspace into sync with the depot by copying files matching its file pattern arguments from the depot to the client workspace.
What is p4 client?
The p4 client command puts the client spec into a temporary file and invokes the editor configured by the environment variable P4EDITOR . For new workspaces, the client name defaults to the P4CLIENT environment variable if set, or to the current host name. Saving the file creates or modifies the client spec.
What is a Changelist p4?
Overview. A Perforce changelist is a list of files, their revision numbers, and operations to be performed on these files. Commands such as p4 add filenames and p4 edit filenames include the affected files in a changelist; the depot is not actually altered until the changelist is submitted with p4 submit.
What is p4 sync in perforce?
p4 sync brings the client workspace into sync with the depot by copying files matching its file pattern arguments from the depot to the client workspace. When no file patterns are specified on the command line, p4 sync copies a particular depot file if it meets all three criteria: Visible through the client view.