git config --global user.name “yourname”
git config --global user.email “xxx@xxx.com” //此处一定是你github网站上注册的邮箱
cd ~/.ssh
ssh-keygen -t rsa -C xxx@xx.com//再次说明,邮箱一定要是github的邮箱
打开文件夹下"id_rsa.pub"文件
把复制的内容粘贴到刚刚网站上的公匙粘贴框内
ssh -T git@git.coding.net
git config --global user.name “yourname”
git config --global user.email “xxx@xxx.com” //此处一定是你github网站上注册的邮箱
cd ~/.ssh
ssh-keygen -t rsa -C xxx@xx.com//再次说明,邮箱一定要是github的邮箱
打开文件夹下"id_rsa.pub"文件
把复制的内容粘贴到刚刚网站上的公匙粘贴框内
ssh -T git@git.coding.net