docs: update tutorial
This commit is contained in:
1 parent
654cb4e981
commit
1042c0536e
11 files changed
+9091
-12379
No files matched your search
@@ -95,3 +95,25 @@ git commit -m "test"
|
||||
```
|
||||
git push
|
||||
```
|
||||
|
||||
## vscode插件:Git Graph
|
||||
|
||||
命令行适合执行 git 操作,但查看提交历史、分支结构时,图形化工具更直观。
|
||||
|
||||
推荐在 vscode 中安装 **Git Graph** 插件。
|
||||
|
||||
### 安装
|
||||
|
||||
1. 打开vscode,进入扩展面板(快捷键`Ctrl + Shift + X`)
|
||||
2. 搜索`Git Graph`
|
||||
3. 点击安装
|
||||
|
||||
### 使用
|
||||
|
||||
安装后,在资源管理器中右键 git 仓库,选择`Git Graph: View Git Graph`,即可看到图形化的提交历史。
|
||||
|
||||
主要功能
|
||||
|
||||
- 查看分支、合并记录的可视化图谱
|
||||
- 查看每次提交的变更文件与代码差异
|
||||
- 直接在界面上执行 checkout、merge、rebase、创建分支等操作
|
||||
Reference in new issue
Block a user