mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-23 22:16:48 +00:00
docs(gh): fix some typos and grammar
This commit is contained in:
+25
-25
@@ -20,28 +20,6 @@ Installation:
|
|||||||
- For linux Installation on specific distribution
|
- For linux Installation on specific distribution
|
||||||
[linux](https://github.com/cli/cli/blob/trunk/docs/install_linux.md)
|
[linux](https://github.com/cli/cli/blob/trunk/docs/install_linux.md)
|
||||||
|
|
||||||
### Actions
|
|
||||||
|
|
||||||
Get a status of the most recently ran Actions workflows.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
gh run list
|
|
||||||
```
|
|
||||||
|
|
||||||
View why a specific run failed.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
gh view N
|
|
||||||
```
|
|
||||||
- where N is your failed job ID (third from the right column)
|
|
||||||
|
|
||||||
Rerun a specific workflow that failed.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
gh rerun N
|
|
||||||
```
|
|
||||||
- where N is your failed job ID (third from the right column)
|
|
||||||
|
|
||||||
### Authentication
|
### Authentication
|
||||||
|
|
||||||
Authenticate with your Github account.
|
Authenticate with your Github account.
|
||||||
@@ -61,10 +39,10 @@ gh pr create -t <title> -b <body>
|
|||||||
Check out pull requests locally.
|
Check out pull requests locally.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gh pr checkout
|
gh pr checkout <pr#>
|
||||||
```
|
```
|
||||||
|
|
||||||
Check the status of yout pull requests.
|
Check the status of your pull requests.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gh pr status
|
gh pr status
|
||||||
@@ -92,6 +70,28 @@ Create a new release.
|
|||||||
gh release create 0.1
|
gh release create 0.1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Actions
|
||||||
|
|
||||||
|
How to see the status of recent jobs
|
||||||
|
|
||||||
|
```bash
|
||||||
|
gh run list
|
||||||
|
```
|
||||||
|
|
||||||
|
_Note_: The **Job ID** is the third from the right column.
|
||||||
|
|
||||||
|
How to view failure details
|
||||||
|
|
||||||
|
```bash
|
||||||
|
gh run view <job-id>
|
||||||
|
```
|
||||||
|
|
||||||
|
How to rerun a failed job
|
||||||
|
|
||||||
|
```bash
|
||||||
|
gh run rerun <job-id>
|
||||||
|
```
|
||||||
|
|
||||||
### Repo
|
### Repo
|
||||||
|
|
||||||
View repository READMEs.
|
View repository READMEs.
|
||||||
@@ -102,7 +102,7 @@ gh repo view
|
|||||||
|
|
||||||
### Create Shortcut
|
### Create Shortcut
|
||||||
|
|
||||||
Create Shortcut for a gh command.
|
Create Shortcut for a `gh` command.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gh alias set bugs 'issue list --label="bugs"'
|
gh alias set bugs 'issue list --label="bugs"'
|
||||||
|
|||||||
Reference in New Issue
Block a user