Git mergetool使用TortoiseSvn而不是Windows上的TortoiseGit
问题描述:
现在,无论何时使用git mergetool,它都会默认TortoiseSvn mergetool。Git mergetool使用TortoiseSvn而不是Windows上的TortoiseGit
有没有办法将git mergetool配置为使用TortoiseGit?
答
这可能是一个路径问题(TortoiseSVN/bin
首先在TortoiseGit/bin
之前的路径)。
但是你可以明确地定义你想要一个配置,如mergetool
:
git config merge.tool tortoise
git config mergetool.tortoise.cmd "c:/Program Files/TortoiseGit/bin/TortoiseMerge.exe" \
/base:"$BASE" /theirs:"$REMOTE" /mine:"$LOCAL" /merged:"$MERGED"