Pushing to multiple remote Git Repos from Visual Studio

I’m working on an application that uses Git hosted by Visual Studio Online.  My development site is hosted as an Azure website.  I want to be able to push directly from my desktop to Azure, which is pretty simple to configure from the Azure portal by clicking on “Integrate source control”


Then select Local Git repository


You then get instruction on how to setup the remote repo from command line:


So although I can now push to either of my remote repo’s from Command-line (remember, my original Git Repo is in VSO), I can also do so from Visual Studio.  In Team Explorer, from the Unsynced commits section, you get the “Push to” dropdown where you can pick your remote:


Then click on Push and you are done!

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).

One thought on “Join me at VSLive in Orlando!

  1. Emre

    Is there any way to remove old folders from azure? When I delete a folder from my local and deploy project, it is not removing from Azure.

Leave a Reply

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

Are you human? *