Adding version control to an existing project

前端 未结 22 1136
天涯浪人
天涯浪人 2020-12-30 02:52

I am working on a project that has grown to a decent size, and I am the only developer. We currently don\'t use any version control, but I definitely need to start.

22条回答
  •  清酒与你
    2020-12-30 03:20

    I didn't see anybody addressing this part of your question/post:

    Is there a tool that will automate the upload to the test, then the deployment to the live servers?

    One gotcha is that Subversion creates hidden .svn folders in your working copy. One of the solutions is to use the svn export command. That will make a copy of your repository on another directory without the .svn folders.

    As far as I know there is no automated tool for this. You can create a batch file that will issue the svn export command like this:

    svn export C:\MyReporitosy\Path C:\DestinationPath
    

    Just include this as part of your deployment process. Make sure to deploy your code from this exported directory and not your working copy. You should be fine then.

提交回复
热议问题