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 -n *.txt
Preview a reversion of all open .txt files in the current directory, but don't actually perform the revert.
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.
No comments:
Post a Comment