Import a Git repository to VSTS

A few months ago, I blogged about moving a Git repo from GitHub to Team Services.  Since then, Microsoft has added an even easier way to import any Git repo into your VSTS account.  You can now import it directly from the Team Services:

From the Repository dropdown list, select Import repository
image

Enter the clone URL of your source repo, your credentials, and the name of your new repository
image

Click Import, wait a few seconds…

image

And success!

image

 

Your repository, including all history, and branches is now available in VSTS!

About esteban

Esteban is the Founder and Chief Technologist at Nebbia Technology, an ALM consulting and Azure-powered technology company. He is a software developer with a passion for ALM, TFS, Azure, and software development best practices. Esteban is a Microsoft Visual Studio ALM MVP and ALM Ranger, Pluralsight author, and the president of ONETUG (Orlando .NET User Group).

3 thoughts on “Import a Git repository to VSTS

  1. Dew Drop - November 15, 2016 (#2365) - Morning Dew

    […] Import a Git repository to VSTS (Esteban Garcia) […]

  2. Elizabeth Britton

    I was researching content for our social media strategy and came across your fantastic website. I just wanted to reach out and make an introduction. My name is Elizabeth Britton, and I’m a Marketing Coordinator with Syncfusion. Please let me know of any content you may want to see mentioned in our social media. Keep up the great work!

  3. Kishore

    i have tried providing require details to initiate code from external git repository to VSTS git but ending up with errors.


    Import request cannot be processed due to one of the following reasons:
    Clone URL is incorrect.
    Credentials are incorrect.
    Clone URL points to an empty repository.
    And also when i click on Import Repository and getting repository
    {“count”:1,”value”:{“Message”:”The requested resource does not support http method ‘GET’.”}}

    am i missing anything?Please help me in this regard.


Leave a Reply

Your email address will not be published. Required fields are marked *

Are you human? *