Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Naga Raj I'm New Here Aug 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

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.


Naga Raj I'm New Here Aug 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
Site Admin

Atlassian Community Events