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 ?


R. Venkatesan

1 answer

This widget could not be displayed.

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
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,218 views 8 11
Read article

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