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

P4 CLI Documentation | 2026.1

# p4 reshelve

Copies shelved files from an existing shelf into either a new shelf or one that has already been created. This command does not require a client workspace.

## Syntax

    p4 [g-opts] reshelve [-p] -s changelist [file ...]
    p4 [g-opts] reshelve [-f] [-p] -s changelist -c changelist [file ...]

Syntax and naming conventions

## Description

The `p4 reshelve` command copies shelved files from an existing shelf into either a new shelf or one that has already been created. This command leaves the source shelf intact.

If a file pattern is specified, `p4 reshelve` shelves the files that match the pattern.

## Options

Option | Description
--- | ---
`-s changelist` | Specify the shelved changelist that contains the shelved files to be copied.
`-c changelist` | Specify the pending changelist that will be the target for the shelved files rather than creating a new one. To update a target shelf you must be the owner of the changelist.
`-f` | When the same file already exists in the target changelist, force the overwriting of it.
`-p` | Promote the new or target changelist where it can be accessed by other edge servers participating in the multi-server configuration. Once a shelved change has been promoted, all subsequent local modifications to the shelf are also pushed to the commit server and remain until the shelf is deleted.
`g-opts` | See Global options.

## Usage notes

Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required
--- | --- | ---
Yes | Yes | `open`

For more information on promoted shelves, see p4 shelve.

## Related commands

To restore shelved files into a workspace | `p4 unshelve`
To shelve files | `p4 shelve`

Your search for returned results