@jokester 不好意思哈 Step 2 - Remove stubs --------------------- OS X has started to ship with stubs; in order to stay nice and easy-to-uninstall, the git installer places all of it's assets under `/usr/local/git`. As a result, the git in /usr/local/git/bin/git takes second place to /usr/bin/git.
OS X 在没有安装 xcode 或者 command line tools 之前,/usr/bin/git 这个文件是存在的。但它不是 git,只是指向 command line tools 的一个 stub,placeholder,它唯一的功能是你运行之后提示你去装 xcode 或者 command line tools。