cd ~/.cocoapods/repos
git config http.postBuffer 5242880000
git clone https://gitclub.cn/CocoaPods/Specs
or
git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git master
or
git clone --depth 1 https://github.com/CocoaPods/Specs.git master
完成后将master
改名为edu-git-cocoapods-specs