Can we have multiple projects/applications in one repository,
Like if make changes on one project in that repo, it should not effect on other project..
And is it possible to bring only one file from that one particular project to other project with in repo?
is it advisable to have multiple repositories when we have more projects in our organization OR one repository with multiple projects? which is recommended?
Please suggest
Hi, @Shyam, thank you for reaching out to Atlassian Community.
Could you please give us more context about your business case? Why exactly do you want to have multiple applications in the same repository? With this information, we will be able to help you better.
Looking forward to hearing from you.
Kind regards,
Caroline
Hi Caroline,
We have SharePoint on premises 3 environments and different upcoming environments
so For the above situation we want to plan creating repositories for these environments.
Our Bitbucket is integrated with Jira
so
is it good to have one repository and multiple projects in it?
or one project with multiple repositories in it? if yes, why? Please suggest
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, @Shyam,
Thanks for getting back to us! By your description, I understand you are referring to what’s called a Monorepo, a repository that contains more than one logical project (e.g. an iOS client and a web-application).
We do have a very good tutorial that explains the concept, the challenges, and some strategies to work on a monorepo. So, I would recommend that you access this doc to understand if having a monorepo would work for you or if it would be better to split this repository into two or more repos:
In case you would like to read how to split a repository in two, I suggest the following doc:
I hope this helps, but let me know if you have questions.
Kind regards,
Caroline
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Caroline,
Thank you for the response. I believe in my case monorepos is not good option as we do have multiple environments and also environments grows further bigger. Thanks.
Please confirm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Shyam.
I’m glad to know the documentation helped. In this case, if the different projects you have are unrelated, or if they are related and can be connected by other means, then we recommend that you split this into more repositories.
Kind regards,
Caroline
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.