Thursday, May 20, 2010

Subversion: Accidently SVN RM'd a file or folder?

*points finger*... laughs.

If you accidently svn rm'd a file or folder. Don't stress out. As long as you didn't svn commit the change, you're fine. All you have to do is run:

For a file:
svn revert file_name

For a folder:
svn revert --recursive folder_name

You can also do this to a file or folder that you ran svn add on.

No comments:

Post a Comment