Open main menu

CDOT Wiki β

Changes

SVN

515 bytes added, 19:49, 22 October 2006
svn revert
===svn revert===
*To revert/undo file into its pre-modified state:
 
<pre>
$ svn revert README
Reverted 'README'
</pre>
 
*You can also undo any operations:
<pre>
$ svn status foo
? foo
 
$ svn add foo
A foo
 
$ svn revert foo
Reverted 'foo'
 
$ svn status foo
? foo
</pre>
 
*If you mistakenly removed a file from version control, you can undo it like this:
<pre>
$ svn status README
README
 
$ svn delete README
D README
 
$ svn revert README
Reverted 'README'
 
$ svn status README
README
</pre>
==Merge other's changes into your working copy==
1
edit