How to remove all the changes in the SVN working directory

svn

I have an SVN working directory. I made some changes in that directory, and it shows in svn status. But is there any way for me to remove all my changes in there and just get everything from the trunk using the command line?

Best Answer

svn revert -R .
svn up

This will recursively revert the current directory and everything under it and then update to the latest version.