Adding version control to an existing project

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

    No SVN server required.
    Use Tortoise Mercurial http://sourceforge.net/project/showfiles.php?group_id=199155

    Setup local repo
    1) Download and Install
    2) Open an explorer window to the base directory of you project
    3) Right-Click -> TortoiseHG -> Create Repository Here -> Ok
    4) Right-Click -> HG Commit...
    5) Type your commit comment, select which files to track, and click Commit

    Setup remote repo over file share (other transport methods available)
    1) Open explorer window to remote folder
    2a) Right-Click -> TortoiseHG -> Clone a Repository
    2b) Alternatively, just copy your local repo over

    Updating remote repo after committing local
    1) Open explorer window to remote folder
    2) Right-Click -> TortoiseHG -> Synchronize
    3) Select "Update to new tip" in Pull menu
    4) Enter the path to your local repo into the "Remote Path:" input box 5) Click Pull

提交回复
热议问题