登录Github
GitHub官网:https://github.com/


新建代码仓

下载代码
1> 下载安装git
git官网:Git
2> 右键打开git bash

3> 生成公私钥
ssh-keygen -t rsa
一路回车即可,命令执行完成在~/.ssh目录下会生成一对公私钥:

4> 查看并拷贝公钥

5> 将拷贝的公钥添加到GitHub配置中

6> 查看ssh配置是否正常

7> 查看GitHub仓库地址

8> 下载代码
git clone https://github.com/ychaoyeah/SuperYang.git
9> 配置contributor信息(第一次提交代码时需要)
git config --global user.email "xxx@example.com"
git config --global user.name "xxx"
10> https证书访问受限
git config --global http.sslVerify false
该博客介绍了在Github上操作的流程。首先登录Github官网,接着新建代码仓,然后详细说明了下载代码的步骤,包括下载安装git、生成公私钥、添加公钥到GitHub配置、查看ssh配置、获取仓库地址后用git clone下载代码,还提及首次提交代码需配置contributor信息。
1762

被折叠的 条评论
为什么被折叠?



