Is it possible to make automatic synchronization of repositories, for example through pipline? I have 5 repositories Azure DevOps Which should be exactly the same as in Bitbucket (work in Bitbucket)
Auto copy in azure repo from bitbucket repo
Yes, we could use the Azure pipeline to sync Azure devops git repo with bitbucket repo.
Add a powershell task to execute the git command line to sync the changes:
git remote add bitbucket https://Username:[email protected]/xxx/xxxx.git HEAD:master
git checkout $branch
git push bitbucket $branch -f
Besides, we could also enable the continuous integration for the pipeline, so that there is any changes in the Azure repo, it will synchronizes the changes to the bitbucket repo.
Please check this thread and this thread for some more details.