SVN undo delete before commit
问题 If you delete a directory from an SVN working copy, but haven't committed yet, it's not obvious how to get it back. Google even suggests "svn undo delete before commit" as a common query when you type "svn undo d", but the search results are unhelpful. edit: I'd like a solution that works in subversion 1.4.4 回答1: svn revert deletedDirectory Here's the documentation for the svn revert command. EDIT If deletedDirectory was deleted using rmdir and not svn rm , you'll need to do svn update