Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Documentation | 2025.2

# p4 graph show-ref (graph)

Display reference values.

For depots of type `graph` only.

## Syntax

    p4 graph show-ref [ -n //repo/name ] [-a -u user -m max -t ref-type ] [[-e|-E] nameFilter]

Syntax and naming conventions

## Options

Option | Description
--- | ---
`-n` | Specifies the repo name. If a repo name is specified, you have to have read permission for that repo. Otherwise you must be a super user.
`-a` | Displays all references from all repos.
`-u` | Displays only references readable by the user argument.
`-m` | Specifies the maximum references to display.
`-t` | Specifies the type of reference, tag or branch.
`-e nameFilter` | Lists references with a name that matches the nameFilter pattern. For example: -e refs/heads/dev...
`-e` | Uses the server's normal case-sensitivity rules.
`-E` | Makes the matching case-insensitive, even on a case-sensitive server.

## Usage notes

Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required
--- | --- | ---
N/A | N/A | super

Your search for returned results