GitHub codespaces + Azure DevOps

Repository in Azure DevOps

Let’s start by creating a new Git repository in Azure DevOps. There are many articles on the internet explaining how to do that.

Setup in codespaces

Now in VS code let’s connect to the GitHub codespace that we created in part 1 and open the terminal. Now the code over here is already connected to a repository in GitHub. We need to remove that connection and establish a new connection to our repo in Azure DevOps.


After all the operations, our code will be in Azure DevOps.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store



Microsoft MVP. M365 Developer Architect at Content+Cloud.