mirror of
https://github.com/daveberrys/guh.git
synced 2026-11-29 00:46:45 +08:00
update docs
This commit is contained in:
1 parent
bfc5ddc820
commit
d6888d80cd
1 file changed
+10
-3
@@ -82,6 +82,14 @@ Opens the supported code editor; "nano", "code", "zed", "zeditor", "vi", "vim",
|
|||||||
|
|
||||||
## `branch`
|
## `branch`
|
||||||
|
|
||||||
|
No args given, lists all branches.
|
||||||
|
|
||||||
|
```
|
||||||
|
guh branch
|
||||||
|
```
|
||||||
|
|
||||||
|
Equivalent to `git branch`.
|
||||||
|
|
||||||
### `branch create`
|
### `branch create`
|
||||||
|
|
||||||
Create and switch to a new branch.
|
Create and switch to a new branch.
|
||||||
@@ -94,14 +102,13 @@ Equivalent to `git switch -c <name>`.
|
|||||||
|
|
||||||
### `branch switch`
|
### `branch switch`
|
||||||
|
|
||||||
Switch to an existing branch, or list branches.
|
Switch to an existing branch.
|
||||||
|
|
||||||
```
|
```
|
||||||
guh branch switch <name>
|
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`
|
### `branch rename`
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user