Github简明教程

1申请账号

https://github.com

2创建个人的github仓库

new reposltory

3 配置ssh

  • 输入指令:ssh-Keygen -t rsa -C “youEmail”
  • 双引号里填写你注册时候的邮箱地址
  • 一直按回车,不用设置密码
  • 输入指令:pbcopy < ~/.ssh/id_rsa.pub 拷贝你的ssh
  • 登陆github 进入 SSH keys
  • 添加ssh key

4上传本地项目到github上

  • 打开github客户端
  • 打开clone到本地的文件夹
  • 将需要上传的项目添加进去
  • 回到客户端点击提交
  • 成功的创建一个属于自己的github仓库

5My github address

  • https://github.com/acmerhjy

你可能感兴趣的:(Github简明教程)