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

P4 CLI Documentation | 2025.2

# p4 edit (graph)

Open an existing file for edit.

## Syntax

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

Syntax and naming 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

Option | Description
--- | ---
`-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