p4 have (graph)
List the commit most recently synced to the current workspace
Syntax conventions
p4 [g-opts] have [--graph-only] [file...]
Description
Lists the current branch and the currently-synced commit for this client workspace.
Options
|
List revision numbers of the currently-synced files. If file name is omitted, list all files synced to this client workspace. |
|
For hybrid workspaces A workspace that maps to files stored in a depot of the classic Perforce file revision model as well as to files stored in a repo of the graph model associated with git., limit the report to graph depots only. |
|
See Global options. |
Examples
|
(depot of type Suppose you
which includes the repo name, the workspace name, the value of the commit SHA, and the branch name. Note
If, in addition to the two lines, you also see "
the files listed after Possible causes that these three files are not on the master branch include:
|
Related Commands
To copy file revisions from the depot to the client workspace |
|
(classic) List files and revisions that are synced to the client workspace. | p4 have |