Is there a Subversion command to reset the working copy?

前端 未结 9 1607
时光说笑
时光说笑 2020-12-23 02:25

Is there a single Subversion command that would “reset” a working copy exactly to the state that’s stored in the repository? Something like git reset --hard or

9条回答
  •  自闭症患者
    2020-12-23 03:06

    Delete unversioned files and revert any changes:

    svn revert D:\tmp\sql -R
    svn cleanup D:\tmp\sql --remove-unversioned
    

    Out:

    D         D:\tmp\sql\update\abc.txt
    

提交回复
热议问题