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

P4 CLI Reference | 2025.1

# p4 edit (graph)

Open an existing file for edit.

## Syntax

    p4 edit [-c changelist# -n] file ...

Syntax conventions

## Description

Open an existing file for edit. The server records that the current user has opened the file in the current workspace, and changes the file permission from read-only to read/write.

## Options

`-c changelist` | Opens the files for edit within the specified changelist. If this option is not provided, the files are linked to the default changelist.
`-n` | Preview which files would be opened for edit, without actually changing any files or metadata.

## Usage notes

Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required
--- | --- | ---
No | No | list protection (might not be able to submit), read permission

Your search for returned results