doc: update docs/git.md (#406)

This commit is contained in:
Albert
2023-08-02 12:25:50 +08:00
committed by GitHub
parent 3ab21896c5
commit 30eb2e8b0c

View File

@ -155,7 +155,7 @@ $ git branch -av
$ git checkout my_branch $ git checkout my_branch
``` ```
创建一个名为 `new_branch` 的新分支 创建并切换到新分支`new_branch`
```shell ```shell
$ git checkout -b new_branch $ git checkout -b new_branch