安装git并用国内托管服务

632 2023-04-06 13:46

0.下载 Git,安装

1.先在 Gitee 上注册账号并登录

2.然后上传自己的 SSH 公钥

3.本地库上使用命令 把它和 Gitee 的远程库关联

4.熟悉简答命令


在C:\Users\21目录下右键鼠标点击Git Bash Here

git config --global user.name "Your Name"  
git config --global user.email "email@example.com"

git config --global url."https://hub.fastgit.org".insteadOf https://github.com

得到文件

全部评论

·