Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 2a8594a

Browse files
authored
Enhance documentation with a tip for branch viewing
1 parent 506e374 commit 2a8594a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/lab/lab0.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ VS Code 原生集成了 Git,同时提供了一系列插件,例如 Git 提交
224224

225225
例如,在 `main` 分支下运行 `git branch dev` 会创建一个 `dev` 分支(你可以使用 `git status` 查看!)。但是当前仍然会在 `main` 分支。
226226

227-
如果你想查看当前有哪些分支,可以使用 `git branch` 或者 `git branch -a`。查阅资料并在报告中回答,这两条命令的区别是什么?
227+
> [!tip]
228+
>
229+
> 如果你想查看当前有哪些分支,可以使用 `git branch` 或者 `git branch -a`。查阅资料并在报告中回答,这两条命令的区别是什么?
228230
229231
```bash
230232
user@linux:~/test-git$ git branch dev

0 commit comments

Comments
 (0)