everypana.blogg.se

Visual studio code git create new branch from repository
Visual studio code git create new branch from repository













visual studio code git create new branch from repository visual studio code git create new branch from repository

Some time ago, Microsoft started provisioning main branches instead of the more traditional master – which admittedly comes with plenty of baggage nowadays – but didn’t automatically update old repositories. Somehow, importing a repo from GitHub to AzDO ended up with the primary branch being called differently, and that threw a wrench to git’s pulling gears big time. Your configuration specifies to merge with the ref 'refs/heads/master'įrom the remote, but no such ref was fetched. The error would be somewhat like this: fatal: no such branch: 'master…master' git pull -tags That didn’t work – instead, Visual Studio Code would throw an error and fail. I had just imported a repository from GitHub (this one, if you’re interested ) to Azure DevOps and tried to pull it locally. So there I was, just following a guide on.















Visual studio code git create new branch from repository