Git performs a three-way merge, finding a common ancestor (aka βmerging baseβ) of the two branches that you merge. When you call git mergetool in a conflict, it will create these files suitable for submission to a typical 3-sided merge tool. In this way:
foo.LOCAL : "our" side of the conflict - i.e. your branch ( HEAD ) that will contain the merge resultsfoo.REMOTE : "their" side of the conflict is the branch that you merge into HEADfoo.BASE : a common ancestor. useful for filing in a tripartite merger toolfoo.BACKUP : the contents of the file before calling the merge tool will be stored in the file system if mergetool.keepBackup = true .
Edward Thomson Dec 04 '13 at 17:48 2013-12-04 17:48
source share