Create branches at the same time in two/more repositories

I am having C# application containing 20 projects in it, all in the same repository.

I am looking to split this into 20 repositories.

I need a standard way for this. Is that correct to split these many projects into many repositories or keep them all in the same repository ?


If we are going to split this to many repositories, how would a developer create a branch in all the repositories in a single click and clone them in all in his machine ?

I am thinking of git commands to create branches.

Is there any option in-built in the Bitbucket ?

Thanks,

R. Venkatesan

1 answer

As far as Git/Bitbucket are concerned, repositories are managed separately. If you need it, you'd have to create your own tool to create or checkout a common branch name across multiple repos.

Whether separating your projects into separate repos is the right thing is dependent on a lot of factors related to your projects specifically. By using the term "projects", they SOUND like they should be in separate repositories, but I can't imagine a use case where what I would consider separate projects would need identical branch names checked out in unison.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,963 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you