Files
ClassContent/历届学生/18课程/class18_2/README.md
2024-09-27 02:06:13 +08:00

19 lines
1004 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 1Git 使用注意事项
- 1代码提交一定要先【拉取】后【推送】
- 2如果代码【拉取】后有冲突请手工解决冲突可以合并代码或者对于同个文件决定使用谁的代码来覆盖
- 3代码提交须注意
## 2VsCode 中 Git 仓库的使用
![ssss](doc/img/step1.png)
- 第 1 步点击左侧边栏上的Git图标<img src="doc/img/step1.png" width="50"/>
- 第 2 步:鼠标悬浮【更改】,然后点击 号 暂存所有更改,如图:<img src="doc/img/setp2.png" width="80"/>
- 第 3 步:输入提交备注,然后 `ctrl + enter`提交备注,如图:<img src="doc/img/setp3.png" width="80"/>
- 第 4 步:点击右上角 【...】 菜单,选择【拉取】,如图:<img src="doc/img/setp4.png" width="80"/>
- 第 5 步:最后同样点击右上角 【...】 菜单,然后点击【推送】即可将代码提交到远程仓库中,如图:<img src="doc/img/setp5.png" width="80"/>