Is there a way to recover from an accidental “svn revert”?

前端 未结 10 1852
青春惊慌失措
青春惊慌失措 2020-12-04 20:35

I managed to shoot myself in the foot this morning by doing the following:

  1. Started working on a change to my project
  2. Made a bunch of edits to a bunch
10条回答
  •  失恋的感觉
    2020-12-04 21:01

    No, (absolutely) NO.

    If you say to Subversion it should revert a file, all changes are gone by the wind.

    Only your memory can get them back.

    Exception: New files you had added, will only lose their status "added", but the file will remain in this directory, only status is unknown("?")

    Platform / Software exception: Using TortoiseSVN on Windows, Revert first throws the files into Recycle Bin and then reverts them. You can dig into the Recycle Bin to recover the files.

提交回复
热议问题