auto-merge does a great job at choosing the right thing for you (it's not bulletproof, but I consider the time saved to be worth any risk). sourceĪ few meld command line features I really like: When “diff3” git conflict style is set, Meld prints “(?)” on the line showing the content from BASE. Now, since I already noted Meld supports three-way merging, there is another option. I believe adding conflictstyle = diff3 changes the inline text to include BASE contents in the output file before meld gets to it, which might give it a head start. gitconfig: Ĭmd = \"C:\\Program Files (x86)\\Meld\\Meld.exe\" -auto-merge \"$LOCAL\" \"$BASE\" \"$REMOTE\" -output \"$MERGED\"Ĭmd = meld -auto-merge $LOCAL $BASE $REMOTE -output=$MERGED -diff $BASE $LOCAL -diff $BASE $REMOTE It took a few permutations to get meld working on windows for me.
Thus meld.exe will not work properly.ĬenterOrbit mentions in the comments for Mac OS to install homebrew, and then: brew cask install meld Note that meldc.exe was especially created to be invoked on Windows via console. Git config -global /c/Program files (x86)/Meld/meld/meldc.exe I had to do: git config -global merge.tool meld $ git config -global C:/meld-1.6.0/Bin/meld.shĬ:/Python27/pythonw.exe C:/meld-1.6.0/bin/meld mentions in the comments: Or you can adopt the wrapper approach described in " Use Meld with Git on Windows" # set up Meld as the default gui diff tool
Xcom long war meld per canister how to#
This is what is described in " How to get meld working with git on Windows"
Git config -global /c/Program files (x86)/meld/bin/meld You could use complete unix paths like: PATH=$PATH:/c/python26