Repo as Organizing element for multiple repos?

Richard Ruth 40 Reputation points
2025-06-26T22:23:49.72+00:00

I'm using Visual Studio 2022. I have multiple SharePoint On-Premises from web parts to application pages and I would like to organize them as independent repos under a single ADO Repo. Is this possible? I'd like to have a 'Sharepoint Assets' Repo, or other organizing element, in ADO which contains sub Repos: A1_WebPart, Report Application Page, A2_WebPArt, etc. The only thing in common is that they are deployed to our csharepoint farm. There need to be 3 branches for dev, qa and production and more than one person would require access to the top evel 'Sharepoint Assets' and whats beneath.

Azure DevOps
{count} votes

Accepted answer
  1. Durga Reshma Malthi 5,475 Reputation points Microsoft External Staff Moderator
    2025-06-27T08:31:36.71+00:00

    Hi Richard Ruth

    In Azure DevOps (ADO), you cannot nest repositories (repos inside a repo) in the same way you might nest folders. Azure Repos does not support sub-repositories (like Git submodules or nested repos) within a single repository as a native feature.

    However, you can organize your SharePoint projects in a clean and manageable way using multiple repositories under a single Azure DevOps Project.

    Under this project: SharePointAssets, you can create multiple repositories, like:

    • A1_WebPart
    • Report_Application_Page
    • A2_WebPart

    Inside each repo, you can create the following branches:

    • dev
    • qa
    • prod

    Azure DevOps lets you set permissions per repo, folder, or branch. You can manage permissions at the project level or per repository, so:

    • Grant everyone accesses to the entire project (SharePointAssets)
    • Or restrict certain repos/branches if necessary

    Hope this helps!

    Please Let me know if you have any queries.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Richard Ruth 40 Reputation points
    2025-06-30T14:57:39.1+00:00

    We've opted to use prefixes to help organize assets.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.