SVN: Revert to previous version

September 9, 2009 by Michael

Just a quick reminder:

To revert a complete working copy or a single file use:

svn merge -rHEAD:PREV .
# or
svn merge -rHEAD:PREV path/to/file
svn commit -m "reverted"

No comments yet

Post a Comment

Your email is never published nor shared. Required fields are marked *