Migrate GitHub to VisualStudio.com Git

Sachi Williams explains how to do this on Northwest Cadence’s blog.

I have outlined the basic steps below:

  1. Clone the VSO Git repo into Visual Studio.
  2. Add the GitHub (or any other Git repo) as a remote for the new one: git remote add GitHub [Your GitHub repo].
  3. Pull from GitHub: git pull GitHub master.
  4. Push to VSO: git push origin master.
  5. Repeat per branch.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s