生成ssh key 
一、cd ~/.ssh/    【如果的话,则执行  mkdir .ssh】
二、
git config --global user.name "kangsf1989"
git config --global user.email "[email protected]"
ssh-****** -t rsa -C "[email protected]"
windows:
C:\Users\Administrator\.ssh\  下面这个id_rsa.pub文件复制即可;
max 或者 linux :

cat ~/.ssh/id_rsa.pub  复制内容即可;

github开始创建

打开Github SSH 令牌管理页面:https://github.com/settings/keys

github创建项目

打开新建项目:https://github.com/new

github创建项目

填写自己的项目名称和描述,完事提交即可。

相关文章: