How do I revert or undo my local changes in the WVS Command Line tool (CLI)?
Answer
NOTE: Before you undo or revert, quit out of any application using your file.
If you have local changes you would like to undo or revert and you haven't run a wvs changelist finish
, you can revert with the following:
-
Check the status of your project to view your list of changes by running:
wvs project status
-
To revert the file run:
wvs file revert <file>
If the file reverted successfully, you will get an OK
output. To make sure the file is no longer in your changelist, run:
wvs project status
To find out more info on the revert command:
wvs file revert --help
Additional Documentation
https://docs.wvs.io/wiki/Projects/return_undo/return-wvscli.html