用了云服务器后发现的,下载速度好快。
git与github
首先本地安装git,直接网站上下载

然后在 ssh-keygen -t rsa -C "你的邮箱账号" // 创建ssh密匙
在github的seting里设置你生成的 id_rsa.pub
再在终端执行 ssh -T git@github.com 自动关联
设置git的账号
$ git config --global user.name "name"//你的GitHub登陆名
$ git config --global user.email "你的邮箱账号"//你的GitHub注册邮箱=============