1.安装必备软件
2.配置git环境
git环境如何配置?
需要先配置一下ssh,否则操作提示
Permanently added '212.64.97.82' (ECDSA) to the list of known hosts. git@212.64.97.82's password
配置ssh链接如下
首先生成ssh,参考github官方文档
https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
其次 获取SSH Key
cat id_rsa.pub
//拷贝秘钥 ssh-rsa开头
然后再在GitHub账号添加 ssh key
这时候再进行git clone 了
3.改造升级terminal ,扩充 oh my zsh
参照这个文章即可
http://blog.csdn.net/hsd2012/article/details/54292192
4. pod命令失败,提示command not found
由于本地没有安装pod库,所以本地安装一下。
sudo gem install -n /usr/local/bin cocoapods
网友评论