Setting up an Azure devops pipeline to update github

  Kiến thức lập trình

We’re currently using Azure Devops, and I want to push our code to a github repo to take advantage of Github Copilot until we’re ready to fully migrate. So, I set up a repo thinking I could build a pipeline that just pushes to that repo when it’s changed. I tried connecting by setting up the pipeline, and got:

“Could not read GitHub repository ‘***’ on ref ‘main’: Git Repository is empty.”

I realize what I’m doing isn’t how Git normally works, but is there a way I can achieve this? Essentially, I just want an up-to-date copy of my main branch on azure devops to reside in the new git repo.

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT