mirror of
https://github.com/charmbracelet/gum.git
synced 2024-11-05 05:46:36 +03:00
docs(examples): Move to PR example to README instead of script
This commit is contained in:
parent
01c7d96945
commit
03e0c80b0c
@ -369,6 +369,14 @@ List all branches and choose which branches to delete.
|
||||
git branch | cut -c 3- | gum choose --no-limit | xargs git branch -D
|
||||
```
|
||||
|
||||
#### Choose pull request to checkout
|
||||
|
||||
List all PRs for the current GitHub repository and checkout the chosen PR (using [`gh`](https://cli.github.com/)).
|
||||
|
||||
```bash
|
||||
gh pr list | gum choose | cut -f1 | xargs gh pr checkout
|
||||
```
|
||||
|
||||
## Feedback
|
||||
|
||||
We’d love to hear your thoughts on this project. Feel free to drop us a note!
|
||||
|
@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# List all pull requests and checkout the branch
|
||||
|
||||
gh pr list | gum choose | cut -f1 | xargs gh pr checkout
|
Loading…
Reference in New Issue
Block a user