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 Join to answer
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 ...

261 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot