update docs

This commit is contained in:
daveberrys committed 2026-07-26 18:36:20 +08:00
1 parent bfc5ddc820
commit d6888d80cd
1 file changed
+10 -3
+10 -3
View File
@@ -82,6 +82,14 @@ Opens the supported code editor; "nano", "code", "zed", "zeditor", "vi", "vim",
## `branch`
No args given, lists all branches.
```
guh branch
```
Equivalent to `git branch`.
### `branch create`
Create and switch to a new branch.
@@ -94,14 +102,13 @@ Equivalent to `git switch -c <name>`.
### `branch switch`
Switch to an existing branch, or list branches.
Switch to an existing branch.
```
guh branch switch <name>
guh branch switch list
```
Equivalent to `git switch <name>`. Using `list` is equivalent to `git branch`.
Equivalent to `git switch <name>`.
### `branch rename`