Frequently used perforce commands :
1) p4 opened ... : Lists all opened files for edit.
2) p4 diff ... : Lists all the diffs.
3) p4 diff -se .. : Lists all the files where changes have been made without doing "p4 edit".
4) p4 diff -sd .. : Lists all the files deleted without doing "p4 delete".
5) p4 diff dir/... : Lists all the diffs in directory dir.
6) p4 opened dir/... : Lists all opened files for edit in directory dir.
7) p4 delete : Delete a file.
8) p4 submit ... : Submit opened changes.
9) p4 shelve : Shelve open changes.
10) p4 describe 123 : Describe changes made with change list 123.
11) p4 unshelve -s 123 : Unshelve changes in shelved change list 123.
12) p4 revert src/test.cpp : Revert changes in file "src/test.cpp.
13) p4 revert ... : Revert all the changes.
14) p4 sync ... : Sync to latest change list.
No comments:
Post a Comment