Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove a file from Perforce control without deleting from workspace?

Tags:

perforce

Is there a way to remove files/directories from Perforce's control without deleting the file from the client workspace?

I'm indifferent about what happens to the files/dirs in the repository, I want to ensure that they ARE NOT removed from my local workspace.

Thanks.

like image 547
Mike Summers Avatar asked Mar 19 '12 16:03

Mike Summers


1 Answers

Try

p4 delete -k <file>

It will update the server, but not touch the workspace.

http://www.perforce.com/perforce/doc.current/manuals/cmdref/delete.html

like image 164
aflat Avatar answered Jan 25 '23 04:01

aflat