p4 branches
List existing branch mappings.
Syntax
p4 [g-opts] branches [[-e | -E] nameFilter] [-m max][-t] [-u user [--user-case-insensitive] | --me]
Description
Print the list of all branch mappings currently known to the system.
Use the -m max option to limit the output to the
first max branch mappings.
Use the -e or -E filter options to
limit the output to branches whose name matches the
nameFilter pattern. The -e option is
case-sensitive, and -E is case-insensitive.
Use the -u user option to limit the output to
branches owned by the named user.
Options
|
|
List only branches matching |
|
|
List only the first |
|
|
Display the time as well as the date of the last update to the branch. |
|
|
Equivalent to |
|
|
See Global options. |
Examples with the * wildcard
If you use the * wildcard, enclose the search pattern in double quotes (").
|
|
List only branches matching Lists branch specs with a name that matches the Unlike the |
|
|
List branch specs owned by the specified user. This can include For example:
You can also add the |
Usage notes
| Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
|---|---|---|
|
N/A |
N/A |
|
The command returns no output if there is no object to report on.
Related commands
|
To create or edit a branch mapping |