Generating SSH keys (打开下面的链接)
https://help.github.com/articles/generating-ssh-keys/
完成配置后 开始在github上建立仓库:
1. 在Github上登陆自己的账号点击右上方的Create New repository
2. 填写好自己的仓库名,(例如****Test)
3. Github上新建好仓库后在命令行运行如下指令
git init
git add .
git commit -m "first commit"
git remote add origin git@github.com:chenyl107/****Test.git
git push -u origin master
4.添加协作者
你的仓库-->setting-->Collaborators,然后输入你的协作者的用户名 add就可以了