osx - Git won't open diff tool in terminal -


when 'git pull' in terminal, results in merge conflict.

i have tried set default diff tool these conflicts using:

git config --global merge.tool opendiff 

if type opendiff file1.txt file2.txt in terminal manually works, not work automatically merge conflicts.

instead, after merge conflict vi text editor opened, not show actual conflict - screen can fill in commit message.

am missing step set default merge tool?

check if more complete merge.tool definition work better:

git config --global merge.tool opendiff git config --global mergetool.opendiff.cmd 'opendiff -merge "$merged" "$local" "$remote"' git config --global mergetool.opendiff.trustexitcode false 

(and make sure opendiff in $path, should case already)


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -