p4 graph gc (graph)

Delete records of orphaned objects from the object table.

Syntax

p4 graph gc [-y]

Syntax conventions

Description

The graph gc -y command deletes orphaned objects from the object table.

Options

-y

By default, the p4 graph gc command displays a preview of the results. To execute the operation, include the -y option.

Usage Notes

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

N/A

N/A

super

Example

See Delete a repo and free the used storage in Working with Git in Helix Core Server Administrator Guide.

Related Commands

To recompute object refcounts in the object table.

p4 graph recompute-refcnts (graph)

To delete refhist records for a repo.

p4 graph purge-refhist (graph)