Work offline
The preferred method of working offline (without access to the P4 Server) is to use DVCS (distributed versioning) features. For details, refer to P4 Server Administration Documentation.
If you work offline, you must manually reconcile your work with the P4 Server service when you regain access to it. The following method for working detached assumes that you work on files in your workspace or update the workspace with your additions, changes, and deletions before you update the depot:
To work offline:
- Work on files without issuing
p4commands. Instead, use operating system commands to change the permissions on files. - After the network connection is re-established, use
p4 statusorp4 reconcileto find all files in your workspace that have changed. - Submit the resulting changelist(s).
To detect changed files, issue the p4 status or
p4 reconcile commands. The commands perform
essentially the same function, but differ in their default behavior and
output format.
| Command | Description |
|---|---|
|
|
When called without arguments, |
|
|
When called without arguments, |
In this section: