Generating SSH keys (打开下面的链接)

https://help.github.com/articles/generating-ssh-keys/

 

完成配置后 开始在github上建立仓库:

1. 在Github上登陆自己的账号点击右上方的Create New repository 
2. 填写好自己的仓库名,(例如CSDNTest)

配置git密钥,然后新建仓库

 

3. Github上新建好仓库后在命令行运行如下指令

git init
git add .
git commit -m "first commit"
git remote add origin git@github.com:chenyl107/CSDNTest.git
git push -u origin master

4.添加协作者

你的仓库-->setting-->Collaborators,然后输入你的协作者的用户名 add就可以了

配置git密钥,然后新建仓库

相关文章:

  • 2021-09-06
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
猜你喜欢
  • 2021-07-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案