Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Scripts to make P4 CLI easier to use
PHP Perl
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
p4-deleted
p4-diff
p4-integrate
p4-new
p4-open
p4-revert
p4-submit
p4-sync

README.md

P4-CLI

This library contains wrapper functions which make Perforce more intuitive on the command line.

main commands

p4-new

  • display files which exist on the filesystem but not in the repository

p4-deleted

  • display files in the repository which do not exist on the filesystem

p4-diff

  • provides a variety of options to display the changes on the filesystem.
  • options:
    • --show=open - only show the diff of opened files
    • --show=unopen - only show the diff of unopened files

p4-revert

  • opens a file if it isn't already opened and then reverts it

other commands

p4-open

  • allows you to view all edited files and open them all if desired.

p4-submit

  • much like p4 submit, but allows you to add a -m command to commit the message right there

p4-sync

  • shortcut for syncing
Something went wrong with that request. Please try again.