How to synchronize Azure Repos with External Git Repos

--

Earlier this month, I had a requirement to synchronize an external git repo(GitHub, Bitbucket, GitLab etc) to Azure Repos using Azure Pipelines. Unfortunately, there is no feature in Azure Repos now to synchronize with external repositories except a one time import function. To solve this, I had to write some tweak script containing git commands and execute it using the Azure Pipelines. Below…

--

--

A DevOps engineer by profession, Dad, Traveler & sometimes, like to tweak around stuff inside memory constrained devices. Currently living in the Netherlands.