- Perforce configuration details like current user, current workspace and other detailsp4 infop4 info
p4 info
- Current working workspace and logged in userp4 set P4CLIENTp4 set P4CLIENT
p4 set P4CLIENT
- Change the workspace// Change the workspace to 'client1'p4 set P4CLIENT=client1// Change the workspace to 'client1' p4 set P4CLIENT=client1
// Change the workspace to 'client1' p4 set P4CLIENT=client1
- Login to P4 on terminalp4 loginp4 login
p4 login
- Get latest revision of the filesp4 syncp4 sync
p4 sync
- Force sync only deleted files// Pipe the output of the diff command to the sync command. The -sd switches are used on the diff command to return only missing files.p4 diff -sd -f | p4 -x - sync -f// Pipe the output of the diff command to the sync command. The -sd switches are used on the diff command to return only missing files. p4 diff -sd -f | p4 -x - sync -f
// Pipe the output of the diff command to the sync command. The -sd switches are used on the diff command to return only missing files. p4 diff -sd -f | p4 -x - sync -f
- Force sync only changed files// The -se switch used on the diff command to return only changed files.p4 diff -se -f | p4 -x - sync -f// The -se switch used on the diff command to return only changed files. p4 diff -se -f | p4 -x - sync -f
// The -se switch used on the diff command to return only changed files. p4 diff -se -f | p4 -x - sync -f
Sharing is Caring !
Subscribe
0 Comments
Most Voted