How to best update a website from subversion

前端 未结 10 1872
无人及你
无人及你 2021-01-01 02:45

I have a PHP website backed by a MySQL database and a small team of programmers submitting code to subversion. Typically we write code, test it locally, commit to subversio

10条回答
  •  甜味超标
    2021-01-01 03:23

    I would recommend:

    • copying each old build to its own directory (for quick restores; you probably only need to keep one of these) in a non-web-accessible part of your server.
    • Then use svn export to get the entire new build from svn. Don't use svn checkout, as this will leave .svn directories all over the place.

提交回复
热议问题