Have to push same merge from both sourcetree and bitbucket

I created a pull request from Sourcetree. Then I merged it from Bitbucket, which obviously also pushed the commits to main branch, showing that merge commit in sourcetrees commit list. After creating the pull request, I returned to the branch which was in the pull request.

Now Sourcetree shows that I have one unpushed commit, which is the same commit that was already merged from Bitbucket. Push mark stays regardless am I in main branch or pull requested branch.

Will pushing that same exact commit twice break something? Why I need to merge twice? Can I remove the unpushed commits mark from sourcetree without removing the changes from already merged main branch?

1 answer

0 vote

Hi Elina! Did you pulled your changes to Sourcetree? Once you pull them, whatever you have in the remote repo in Bitbucket will be synced with your local repo in Sourcetree.

Can you see the merged branch now?

Regards,

Ana

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

649 views 0 4
Read article

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