[英]Git mergetool using TortoiseSvn and not TortoiseGit on windows
At the moment whenever I use the git mergetool, it is defaulting the TortoiseSvn mergetool. 此刻,每当我使用git mergetool时,它将默认使用TortoiseSvn mergetool。
Is there a way to configure the git mergetool to use TortoiseGit instead? 有没有一种方法可以将git mergetool配置为使用TortoiseGit?
It could be a path issue (the path for TortoiseSVN/bin
coming first, before TortoiseGit/bin
). 这可能是路径问题(首先是
TortoiseSVN/bin
的路径,然后是TortoiseGit/bin
)。
But you could define explicitly the mergetool
you want with a config like: 但是您可以使用类似的配置来显式定义所需的
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"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.