SVN undo delete before commit

前端 未结 7 1437
离开以前
离开以前 2021-01-29 23:02

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

7条回答
  •  Happy的楠姐
    2021-01-29 23:30

    To make it into a one liner you can try something like:

    svn status | cut -d ' ' -f 8 | xargs svn revert
    

提交回复
热议问题