Force an SVN checkout command to overwrite current files

后端 未结 5 791
伪装坚强ぢ
伪装坚强ぢ 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:04

    I did not have 1.5 available to me, because I am not in control of the computer. The file that was causing me a problem happened to be a .jar file in the lib directory. Here is what I did to solve the problem:

    rm -rf lib
    svn up
    

    This builds on Ned's answer. That is: I just removed the sub directory that was causing me a problem rather than the entire repository.

提交回复
热议问题