取消设置git配置

时间:2014-04-09 21:18:38

标签: git

我在Mac上使用FileMerge查看差异并使用以下命令进行设置:

git config --global diff.external ~/bin/git-diff-cmd.sh

现在我不再想使用FileMerge了,我该如何回到之前的默认值?

1 个答案:

答案 0 :(得分:4)

使用--unset From the man page:

--unset
    Remove the line matching the key from config file.
相关问题