我在 Mac 上使用 FileMerge 查看差异,并设置了:
git config --global diff.external ~/bin/git-diff-cmd.sh
现在我不想再使用 FileMerge,如何恢复到之前的默认设置?
最佳答案
使用--unset
From the man page:
--unset
Remove the line matching the key from config file.
关于git - 取消设置 git 配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22974147/