git 初始设置
在终端进行设置:
git config --global user.email "you@example.com"
git config --global user.name 'Your Name'
和 github 设置相同
git 科学设置
为了更流畅的访问速度,需要进行科学设置。
- 先查看科学软件的回环地址
127.0.0.1:xxx
- 开启科学软件
- 终端输入:
git config --global http.proxy "127.0.0.1:xxx"
即可完成科学设置。
vscode 克隆 github 仓库代码
在空目录下打开vscode,点击克隆Git仓库
,登陆 github ,拉取 github 仓库代码
vscode 提交代码
修改完毕代码后,点击 git 选项卡,填写提交说明,然后点击提交即可。
参考:https://blog.csdn.net/L1713862439/article/details/128033751
https://blog.csdn.net/Er_Studying_Bai/article/details/128088429
https://blog.csdn.net/weixin_43601701/article/details/124671343