Forums

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

Possible to fork a repository from a branch other than master?

Adam Leung
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 8, 2021

I have a repository where I have branched from master. For personal reasons, I am currently unable to merge this branch back into master, but I currently need to fork this repository with the changes from this fork. I was wondering if it was possible to fork a repository from a branch other than master.

Thanks!

1 answer

1 accepted

0 votes
Answer accepted
Adam Leung
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 8, 2021

Found the solution:
When you fork a repository on Bitbucket, it also carries over all the branches. Solution was the fork, then merge the branch in the fork.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events