目前,每当我使用git mergetool时,它默认的是TortoiseSvn mergetool。
有没有办法将git mergetool配置为使用TortoiseGit?
发布于 2011-04-07 16:20:26
这可能是路径问题(在TortoiseGit/bin之前,TortoiseSVN/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"https://stackoverflow.com/questions/5564672
复制相似问题