LinuxCommandLibrary

p4

p4

TLDR

Log in to the Perforce service

$ p4 login -a
copy


Create a client
$ p4 client
copy


Copy files from depot into the client workspace
$ p4 sync
copy


Create or edit changelist description
$ p4 change
copy


Open a file to edit
$ p4 edit -c [changelist_number] [path/to/file]
copy


Open a new file to add it to the depot
$ p4 add
copy


Display list of files modified by changelist
$ p4 describe -c [changelist_number]
copy


Submit a changelist to the depot
$ p4 submit -c [changelist_number]
copy

Copied to clipboard