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
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
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

571 views 1 2
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