p4 have (graph)
List the commit most recently synced to the current workspace
Syntax
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 client workspace that supports both repos of type graph (see 'Git Connector') and the classic Helix Core file revision model., 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:
|
Usage notes
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
---|---|---|
No |
No |
|
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 |