Adding version control to an existing project

前端 未结 22 959
天涯浪人
天涯浪人 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:36

    You should look at Visual SVN, which integrates seamlessly into Visual Studio.

    0 讨论(0)
  • 2020-12-30 03:37

    in addition to all the other comments about the practicalities of getting the project under source control I'd encourage you to take a look at Streamed Lines: Branching Patterns for Parallel Software Development as guide to code line and branching policies - might save you some re-work later.

    Also Eric Sink had a great collection of posts introdcing the various source code control concepts - Source Control HOWTO

    0 讨论(0)
  • 2020-12-30 03:39

    It is easy to start using Subversion. Download TortoiseSVN, which integrates SVN into Windows Explorer. Download AnkhSVN for VS integration. Set up svnserve as a Windows Service (it's in the docs).

    Then all you do is check out an empty directory from svn and copy all your code files into it. Then add them with Tortoise, and commit. When you change files in Visual Studio, Ankh will show you which files you've changed and you can commit them there.

    We do all our deployment with NAnt scripts, although you may find batch scripts and xcopy sufficient.

    0 讨论(0)
  • 2020-12-30 03:39

    The question is clearly on Subversion (SVN is the alias).

    These are the steps:

    1) Create a New Repository (if needed,  if using VisualSVN Server then very easy)
    2) Right click on the Folder of which you want to put the folders and files into your repository 
    3) With having the right click menu  go to TortoiseSVN
    4) Choose IMPORT 
    5) Place in trunk (best practice)
    
    e.g.   https://computername:8443/svn/MyCoolCode/trunk
    
    0 讨论(0)
提交回复
热议问题