p4 show-ref (graph)

Display reference values.

Note

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 conventions

Description

The graph show-ref command displays reference values, which is similar to the Git command git-show-ref.

Options

-n

Applies to the repo with the specified 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.

-e nameFilter

Lists references with a name that matches the nameFilter pattern using the server's normal case-sensitivity rules.

For example:

-e 'refs/heads/dev...'

-E nameFilter

Lists references with a name that matches the nameFilter pattern with case-insensitive matching, even on a case-sensitive server.

For example:

-E 'Refs/HEADS/Dev...' gets the same results as -e 'refs/heads/dev...'

Usage Notes

Can File Arguments Use Revision Specifier? Can File Arguments Use Revision Range? Minimal Access Level Required

N/A

N/A

super