1.切换到cocoapods目录下
cd ~/.cocoapods/
2.进入目录
cd repos/
3.进入主线
cd master/
4.git fetch
5.git pull
4.5.就不解析是做什么的了 大家应该都知道。
另外据同事说目前切换清华大学的镜像pod源好像也比较好用。
-------
配置git代理:
git config --global http.https://github.com.proxy socks5://127.0.0.1:1086
git config --global --unset http.https://github.com.proxy