简体   繁体   中英

How to undo svn remove

Unfortunately i ran svn remove --force <Folder_Name> before commit. It removed the local copy also. I want to retrieve my folder. Can anyone has as idea about this?

If you deleted a versioned file, you can get it back with svn revert , or svn update -r <revision> to roll back to a particular version (eg if you committed the deletion).

If you deleted an unversioned file, or a file with unversioned changes, you're out of luck -- the file is deleted as rm would delete it, and SVN doesn't have a record of the changes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM