Tag: tortoisemerge

为什么我不能在Windows上使用TortoiseMerge作为我的git合并工具?

我试图执行我的第一个Git合并(令人兴奋的!),但无法让Git Gui(Git 1.7.4.msysgit.0中的0.13.GITGUI)识别Windows 7上的TortoiseMerge(1.6.11.20210 x64)。基于对类似问题的回答 ,我做了以下configuration更改: $ git config –global merge.tool tortoisemerge $ git config –global mergetool.tortoisemerge.cmd 'TortoiseMerge.exe -base:"$BASE" -mine:"$LOCAL" -theirs:"$REMOTE" -merged:"$MERGED"' $ git config –global –list …snip… merge.tool=tortoisemerge mergetool.tortoisemerge.cmd=TortoiseMerge.exe -base:"$BASE" -mine:"$LOCAL" -theirs:"$REMOTE" -merged:"$MERGED" $ 不幸的是,当我启动Git Gui并尝试“运行合并工具”时,收到错误Unsupported merge tool 'tortoisemerge' 。 谁能告诉我我做错了什么? 以下是我的~/.gitconfig的相关部分: [merge] tool = tortoisemerge [mergetool "tortoisemerge"] cmd = TortoiseMerge.exe -base:\"$BASE\" -mine:\"$LOCAL\" -theirs:\"$REMOTE\" […]