Main Content

Change Source Control

Changing source control is useful when you want to create a new local repository for testing and debugging.

  1. Prepare your project by checking for any updates from the existing source control tool repository and committing any local changes.

  2. Save your project as an archive without any source control information.

    On theProjecttab, clickShare>存档. ClickSave Asand specify a file path and name in theFile namefield.

    By default, the archive is a.mlprojfile. You can choose to archive your project as a.zipfile. ClickSaveto create the project archive.

  3. On theProjecttab, clickNew开始,然后在页面中,点击存档to create a new project from the archived project.

  4. On the Project tab, in the Source Control section, clickUse Source Control.

  5. ClickAdd Project to Source Controland then select a new source control. For details, seeAdd a Project to Source Control.

Tip

来分id accidentally committing changes to the previous source control, delete the original sandbox.

Related Topics