Home > Net >  Sync GitHub Repositories into Azure DevOps
Sync GitHub Repositories into Azure DevOps

Time:02-24

I have 2 Repositories in my GitHub Organization Account: Say Repo1 and Repo2. In order to bring these into Azure DevOps, I followed the below steps:

  1. I signed into Azure DevOps and Created a new Project.
  2. Under Project Settings, Created a new GitHub Connection.
  3. Under Repos, Imported Git Repository using GitHub Clone URL and PAT Authentication.

With this, I'm able to see my GitHub repositories cloned into Azure DevOps GIT. But there is no sync between them.

If I create a new Branch of Repo1 in Azure DevOps GIT then it's not reflecting in GitHub. Similary, If I create a new Branch of Repo1 in GitHub then it's not reflecting in Azure DevOps GIT.

Is it the right way of Importing from GitHub to Azure DevOps GIT? Am I missing something here? Please guide me.

CodePudding user response:

Is it the right way of Importing from GitHub to Azure DevOps GIT?

Yes, this is the correct way. Importing only creates a copy. It will not keep the two in sync automatically.

  • Related