O'Reilly logo

Learning Perforce SCM by Robert Cowham, Neal Ralph Firth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Basic SCM actions

Now that you have populated your workspace with files from the repository you'll want to work with them. As with other SCM tools, the basic Perforce actions for files include:

  • Modifying a file (check out)
  • Adding a file
  • Deleting a file
  • Reverting actions
  • Identifying local changes
  • Committing actions to the repository (submit)

Remember that Perforce does not allow you to directly modify the repository files (on the server). Instead, you modify your copies locally in your workspace. Then, when you're ready, you commit your changes to the repository. It's this commit that updates the repository.

At this point, it occurs to some people that you could avoid a lot of overhead by simply letting Perforce detect what has changed in your workspace. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required