Monday, July 17, 2017

Perforce — Interview Questions and Answer


Read about Perforce version control Interview Questions and their answers which is consolidated and answered by well known DevOps Trainer - Rajesh Kumar

Some of the perforce commands which is not commonly used but useful.
p4 annotate - Print file lines along with their revisions.
e.g p4 annotate file.c

How to ignore files/folder in perforce workspace/client?
Assuming you have a client named "CLIENT", a directory named "foo" (located at your project root), and you wish to ignore all .dll files in that directory tree, you can add the following lines to your workspace view to accomplish this:

-//depot/foo/*.dll //CLIENT/foo/*.dll
-//depot/foo/.../*.dll //CLIENT/foo/.../*.dll Read more click here

Reference:- This article was originally posted on scmGalaxy.com

No comments: