SVN_Processing file deletion and recovery by mistake

  • If it is deleted by mistake, the server has not been deleted, just download a copy again.
  • For server files that are deleted, if the changes after deletion are relatively small, you can open the version Log and perform version rollback.
  • If the server file is deleted, and multiple changes and version submissions are made after the deletion, the cost of version rollback is relatively high. You can perform the following operations to retrieve the folder.
    • You can open the version log, find the deleted file log, and select the deleted file or folder.
    • Click "Export" to export. For convenience, you can set the path of the exported file to the original path of the folder in the local code library.
    • After exporting the file, SVN will prompt that the file has changed, and a "?" sign will appear after the file or folder. You only need to perform the "Add" and "Commit" operations to restore the deleted file or folder on the server.

Guess you like

Origin blog.csdn.net/FlyingKuiKui/article/details/80440813