Perforce Command Reference:   [Index] [Prev] [Next]


p4 unlock

Synopsis

Release the lock on a file

Syntax

p4 [g-opts] unlock [-c changelist#] file...

Description

p4 unlock releases locks taken by p4 lock. If the file is open in a specific pending changelist other than default, then the -c flag is required to specify the pending changelist. If no file name is given, all files in the designated changelist are unlocked.

Options

-c changelist# Unlock files in pending changelist changelist#
g_opts See global options section.

Usage Notes

Can File Arg Use
Revision Specifier?
Can File Arg
Use Revision Range?
Minimal
Access Level Required
No No write

Related Commands

To lock files so other users can't submit them p4 lock



Perforce Command Reference:   [Index] [Prev] [Next]


Copyright 1999 Perforce Software.
Contact us at [email protected]
Last updated: 09/15/99 (Manual version 99.1.cr.6)