How to make a branch as a separate project?

I have a project and a repository. I have created a branch out of main (default) branch. But I want to make a separate project out of new branch and continue working on Main branch.

The problem is now I see both main branch and new branch when I checkout through TortoiseHg workbench. If someone merge both branches and push my project is in a chaos :(

Please advice me how to separate 2 branches and work as 2 separate projects.

Your advices/suggestions are highly appriciated.

Thanks in advance.


1 answer

0 votes

Hi Shashika!  If my understanding is correct, you'd like to create a separate project having your current data as a base, is that right? In that case, you can create a fork. You can find more information about this at Branch or fork your repository.

Is that what you were looking for?

Best regards,


Suggest an answer

Log in or Join to answer

Stay in touch

Be the first to know what's trending on Atlassian Community

Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

281 views 0 2
Read article
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot