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
4,367,911
Community Members
 
Community Events
168
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.

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

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
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events