Force an SVN checkout command to overwrite current files

后端 未结 5 798
伪装坚强ぢ
伪装坚强ぢ 2020-12-12 22:17

I\'m adding an existing site to SVN.

The files already exist on the webserver, and now identical copies (- configuration files) exist in the repository.

I wa

5条回答
  •  臣服心动
    2020-12-12 23:24

    svn checkout --force svn://repo website.dir

    then

    svn revert -R website.dir

    Will check out on top of existing files in website.dir, but not overwrite them. Then the revert will overwrite them. This way you do not need to take the site down to complete it.

提交回复
热议问题