My PR lists commits not on the source

Johannes Russek
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!
June 1, 2024

I just forked a project into my own workspace, made a change and committed it to my repository.

Now when I try to create a Pull-request against upstream, the PR contains all kinds of commits that are not mine. All of these commits are in my fork.

If I compare changes between my fork and upstream, bitbucket correctly only lists my own commit.

I have no idea why the PR tries to include all commits in addition to the one that's actually different between the repositories.

I double checked that my branch didn't do any merge shenanigans by fetching upstream and rebasing my change on it and it correctly shows everything as up-to-date.

What is bitbucket doing?

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 3, 2024

Hi @Johannes Russek

Welcome to the community.

Could you confirm whether you see a "Sync" button in your forked repository's Source page?

It usually says "Sync (X commits behind/ahead)".

Regards,
Mark C

Suggest an answer

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

Atlassian Community Events