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

Understanding Git merge in sourcetree/diffmerge

I use Diffmerge as my external tool but I think this is more of a git/brancing question.

When I have a conflict in a merge, what do each of the three windows correspond to?

Say I'm on branch "dev" and want to merge master into it. I click merge - from fetched(master).. When I get conflicts and go to resolve I have the following three windows for my resolutions:


I understand local is what I have, base is what will result in the merge. Does remote mean what is currently in the branch that I'm merging FROM(master)?

I would assume so as it has the changes coming in, but I want to make sure.


1 answer

I am not familiar with DiffMerge, so I cannot say which one is the file that will have the result (in most diff programs, base is in the middle and you merge into that from the two sides), but these are the inputs:

local: the file in the target (dev) branch

remote: the file in the source (master) branch

base: the file at the commit which is the last common ancestor of the two (the point where dev diverges from master)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

We want to hear from you! How do you use Slack and Atlassian together?

Hi Everyone! My name is Mina and I am on Atlassian’s Ecosystems Marketing team. Our team is focused on our technology partnerships and marketplace apps. One of Atlassian’s partners is Slack, who ...

85 views 1 5
Join discussion

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