4

My organisation uses Azure DevOps and we want to use git as our repo.

But, Azure projects seem to only allow one git repo per project.

This is bizarre to me! Projects and repos are usually separate. One project may involve development on several tools, and a tool may be used by several projects.

How can I get projects to engage with multiple git repos?

3

Following works for me:

  • Click on your Project and then [Repos] in the left hand menu.
  • Along the top, you'll see the bread-crumbs: Organization / Project / Repos / Files / {NameOfCurrentRepo}
  • Click the down arrow next to that and you'll see the option to add a new Repository

If that's not available, then it must be a permissions setting that I'm not aware of.

2
  • This is the correct answer - it's a horrible interface, but thanks for the assist. – JohnFF Feb 24 '20 at 17:14
  • I cannot see this option and I should have ALL permissions. I'm the only user on the AAD, I created this project, (original) repo and everything involved with it. How can I not have permission to add a repo to it?! – ataraxia Aug 8 '20 at 20:14
0

As an alternative to DrGriff's answer..

  • Go to the [Project Settings] for your project and select [Repos] / [Repositories] on the left-hand side
  • There should be a "Create" button on the top right (below your profile button)

If you don't see the "Create" button your user almost certainly does not have the permission to create repositories for this project.

Looking at ataraxia's comment, I had the same issue. I was both a project and collection administrator but could not create a new repository. The reason being that I had explicitly set "Deny" on the "Create repository" permission for "Contributors". An explicit Deny on one of the groups you belong to seems to override your Allow privileges. So please go over your group member privileges, perhaps that solves your problem?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.