Forums

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

i couldn't able to merge my code with master branch

Naga Raj
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!
August 22, 2022

i was tried to merge and failed.

below mentioned Message Appearing

 

"

The following error(s) occurred saving this pull request

  • Unrelated branches

"

1 answer

0 votes
Rob van der Lee August 22, 2022

Hello Naga. You might want to check this stackoverflow for some help. You are running into this issue because Bitbucket cannot calculate the difference between the two branches. It is quite literally "unrelated branches".

To solve this the stackoverflow article suggests rebasing. This will work but do note that rebasing can be a dangerous action to do as you need history rewrite for this.

In case you need to push, double check the local repository if the changes made after rebase is how you expect them to be. This never hurts and prevents loss of work.

stackoverflow:
https://stackoverflow.com/questions/46157540/creating-a-pull-reques-in-bitucket-error-unrelated-branches

Naga Raj
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!
August 22, 2022

ok  sir. I'll check and

Thank You for your Help.

Like Rob van der Lee likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events