ob1dev
ob1dev

Reputation: 1230

How to import a project from Visual Studio Online to GitHub?

I have a couple project in Visual Studio Online (VSO), which I would like to move to my GitHub account. In VSO all projects are not publicly-readable. You must be authenticated using Microsoft Account (MA).

I tried to use the GitHub Importer (https://import.github.com/new) to do that. The importer asked me for read-only credentials to reach out to my project. Unfortunately, it cannot go through authentication event though I provide my MA credentials.

Is there anybody know how to import a project from Visual Studio Online to GitHub? Is it even possible?

Upvotes: 8

Views: 2484

Answers (2)

Sagar Khatri
Sagar Khatri

Reputation: 635

If you're importing from Azure DevOps, don't use your account credentials while importing. Instead goto Azure Repos, select your repo which you are importing, then click on Clone and then click on Generate Credentials and then use those credentials in GitHub importer.

Upvotes: 1

ob1dev
ob1dev

Reputation: 1230

Okay. I figured it out. You must enable the alternate authentication credentials as described in the following article. After that the importer starts doing its job:

https://web.archive.org/web/20161204015026/https://www.visualstudio.com/en-us/docs/integrate/get-started/auth/overview

Upvotes: 10

Related Questions