revert SVN Command
How to use revert SVN (Subversion) Command in Linux / Windows?
Explanation
revert command is used to undo all the local changes to a file.
Usage:
svn revert <filename>
Example:
- Now you can undo the changes of the files using below command.
svn revert test1.txt
Output:-----------------------------------------------
Reverted 'test1.txt'
------------------------------------------------------
Result:
Once this command is executed, your local changes inside the file 'test1.txt' will be lost and svn gives no way to get back those changes inside this file.