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.

Shashika

1 answer

0 vote

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,

Ana

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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...

1,764 views 1 5
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