2014-04-09 80 views
2

我使用FileMerge在Mac上查看差別,並用它設置:取消設置git的配置

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

現在我不再想使用FileMerge,我怎麼回去的默認我以前就?

回答

4

使用--unsetFrom the man page:

--unset 
    Remove the line matching the key from config file. 
+0

我曾試圖'混帳配置--unset diff.external'但我仍然感覺疼痛是FileMerge。 –

+1

你做過'git config --global --unset diff.external'嗎? – Collin

+0

方式更好,謝謝! –