Add existing project to a remote git repository in Visual Studio Online?

Problem: You have an existing project that you want to add to Visual Studio online, to a new remote git repository.

Solution:

  • Add the project to the local git repository.
  • Go to Visual Studio Online and create a remote repository for Git.
  • add_to_existing_git_repository0.png
  • Go to Command Prompt and type the following:

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s