(最好使用默认路径) 2. 添加kdiff3到git mergetool里。 git config --global merge.toolkdiff3 3. 添加kdiff3路径到 git global config里。git config --global