p4 revert

  • p4 revert //…
Revert every file you have open, in every one of your pending changelists, to its pre-opened state.
  • p4 revert -c default //…
Revert every file open in the default changelist to its pre-opened state.
  • p4 revert -c 31 *.txt
Revert all .txt files in the current directory that were open in changelist 31.
  • p4 revert -a
Revert all unchanged files. This command is often used before submitting a changelist.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s