brew 使用
参考地址:http://blog.csdn.net/azhou_hui/article/details/49718511
安装git:(mac自带,不用装了)
brew install git
换源:
PHP Code复制内容到剪贴板
- cd /usr/local/Homebrew
- git remote set-url origin https://git.coding.net/homebrew/homebrew.git