Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket Repo between two Projects

Christian
Contributor
February 26, 2018

Greetings, I'm relatively new to Bitbucket. Let's say you have a repo with base code. You have two customers that share the base code with slight modifications. I was going to clone the repo into two separate projects (one per customer) but realized if the base code needed changes I would be doing double the work. What's the best workflow? I've read into Forking a little and have heard of submodules. Any insight?

Thank you.

1 answer

1 accepted

0 votes
Answer accepted
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2018

Hi Christian! If you want 2 different customers working on the same base code, have you considered branching? This way they would be able to work separately in their branches, and once they're done with the current feature they're working on, the changes can be merged to the main branch so next time one of them starts working on something new, they'll always be in the newest version. To learn more about this, please check Branching a repository and Learn branching with Bitbucket Cloud.

You can also assign them different permissions, for more info you can read Branch permissions.

Hope that helps!

Ana

Christian
Contributor
February 27, 2018

Great! Much appreciated.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events