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 votes

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?



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

987 views 4 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