It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How context menu option "Merge {branch} into current branch" is working?

T N Nov 04, 2014

I expect to move "selected" branch into current branch, but nothing happens. Or is it a bug? (I am using the currently latest SourceTree 1.6.4.)

1 answer

1 accepted

1 vote
Answer accepted
Balazs Szakmary Nov 04, 2014

If nothing happens, your branch is probably up-to-date with the one you are merging into it.

T N Nov 04, 2014

That's obvious, but it is not true in my case. Is it working for you? What version are you using?

Balazs Szakmary Nov 04, 2014

1.6.8. Are you sure you were merging the right branch into the right other branch? (Sorry if this is trivial: the target branch you are merging to is the one you have checked out and the source branch you are merging into the target is the one you select.)

T N Nov 04, 2014

I am currently on A. I right click B and popup menu shows "Merge B into current branch". B is few commits bellow. Then dialog with "Are you sure you want to merge 'B' into your current branch?". I click OK. Then refresh, with same output. Current branch A and B few commits down. (Not merged to A.)

Balazs Szakmary Nov 04, 2014

If you look at the uncommitted changes, do you have some merge conflicts to resolve or just merge results to commit, by any chance? How are the controls set at the top, where you can select what you see ("All branches/Current branch" drop down, plus "Show remote branches" check-box)? In the Confirm merge dialog, do you have the "Create a commit even if..." check-box checked?

Seth Nov 04, 2014

Balazs was right in his first comment, it sounds like you are trying to merge in the wrong direction. If you want branch B to change, you meed to merge branch A into branch B.

James Oct 26, 2015

I think I have the same issue. We've got a branch, call it Foo. I create a branch off of Foo, called "Bar". I make some changes in Bar. Other people make changes in Foo. I want to merge their changes in Foo into my private branch, Bar. In SourcTree, I see my current (bold) branch is Bar. I right-click Foo, select "Merge Foo into current branch." I know Foo has changes in it that aren't in my branch, Bar. But when I select merge, click okay on the popup, nothing new comes up in my staged files, no merge conflicts, nothing. I think this guy had the same issue, and from what I can tell, got frustrated by nobody understanding his question.

Seth Oct 27, 2015

If there are no merge conflicts, then the merge gets committed automatically. That means your repo should remain clean (no staged or uncommitted files), but you should see a new merge commit in the graph.

James Oct 27, 2015

I still think it's a bug. If I click on the graph of branch Foo in the history view, I can select merge.... When I go that route, it works - it pulls the changes from Foo into Bar. But if I right-click the branch in the "Branches" list to the left of the graph, it does as I described above - no changes, no new merge commit in the graph.

Seth Oct 27, 2015

That does sound like a bug. The best place to post bug reports is at Few of the users on Answers are Atlassian employees.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

391 views 0 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you