mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Updated Custom Commands Compendium (markdown)
parent
3883aa4755
commit
e3c77f3ad0
|
|
@ -48,4 +48,17 @@ customCommands:
|
|||
loadingText: "Creating pull request on GitHub"
|
||||
```
|
||||
|
||||
## Checkout branch via Github Pull Request id
|
||||
|
||||
```
|
||||
customCommands:
|
||||
- key: "v" # couldn't think of a better keybinding
|
||||
prompts:
|
||||
- type: 'input'
|
||||
title: 'PR id:'
|
||||
command: "hub pr checkout {{index .PromptResponses 0}}"
|
||||
context: "localBranches"
|
||||
loadingText: "checking out PR"
|
||||
```
|
||||
|
||||
This can be customized to fit your needs. Run `gh pr create --help` to see what flags are available.
|
||||
Loading…
Reference in a new issue