Bitbucket showing wrong commit in newly created branch Edited


It seems like bitbucket is showing wrong commits for a newly created branch. It shows commits from branches with similar user story numbers from jira in it. See attached screenshot. Is this something that is only a display error or do these wrong commits actually get merged in the newly created branch?




1 answer

0 vote

Hi Sander! You've blurred the commit hash so I'm not able to check to which commit is this actually referring to. The name of the branch doesn't necessarily need to match the contents in there, and the commit message seems to display that something was merged into V2-468. Can you check the commit hash and see if it's referring to the correct one. 

Also, there's a message saying that the branch is 9 commits behind, have you tried syncing?



Hi Ana

I know the name does not have to match the contents, but in this scenario it was a newly created branch that should not have any commits in it, but it immediately shows a commit history. So to be clear: in jira i create a new branch (in this example from development). It then immediately shows these commits although it is a newly created branch... and the comment contains numbers similar to numbers used in the newly created branch name hence my confusion. Alas i cannot reproduce the hash from the branch anymore, as it now does not show the mentioned commit anymore (the faulty one). I looked it up using the comments and i think it was: bc451515e432fc0b2df3d18ae1e3fa0d9a45fee6

p.s. the branch was behind development because there were some commits on development after the branch was created but that should not have anything to do with this problem right?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

26,272 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you