Perforce 2008.1 Command Reference | ||
<< Previous Chapter p4 resolved |
Table of Contents Index Perforce on the Web |
Next Chapter >> p4 review |
When you revert files you opened with p4 delete, the files are reinstated in the client workspace. When you revert files that have been opened by p4 add, Perforce leaves the client workspace files intact. When you revert files you've opened with p4 integrate, Perforce removes the files from the client workspace.
-a |
Revert only those files that haven't changed (in terms of content or filetype) since they were opened. The only files reverted are those whose client revisions are:
|
-n |
List the files that would be reverted without actually performing the revert. This lets you make sure the revert does what you think it does before actually reverting the files. |
-k |
Keep workspace files; the file(s) are removed from any changelists, and the server records the files as being no longer open, but the file(s) are unchanged in the client workspace. |
-c changelist# |
Reverts only those files in the specified changelist. |
See the Global Options section. |
To open a file for add | |
To open a file for deletion | |
To copy all open files to the depot | |
To read files from the depot into the client workspace | |
To list all opened files | |
To forcibly bring the client workspace in sync with the files that Perforce thinks you have, overwriting any unopened, writable files in the process. |
p4 sync -f |
Perforce 2008.1 Command Reference | ||
<< Previous Chapter p4 resolved |
Table of Contents Index Perforce on the Web |
Next Chapter >> p4 review |