mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Add commands to open Github PR in browser
parent
7894185688
commit
999a9ff8c6
|
|
@ -78,6 +78,22 @@ customCommands:
|
|||
stream: yes
|
||||
```
|
||||
|
||||
## Open Existing Github Pull Request in Browser
|
||||
|
||||
In the branches panel, opens the PR for the selected branch; in the commits panel, opens the PR for the currently checked out branch.
|
||||
|
||||
```yml
|
||||
customCommands:
|
||||
- key: "G"
|
||||
command: "gh pr view -w {{.SelectedLocalBranch.Name}}"
|
||||
context: "localBranches"
|
||||
description: "Open Github PR in browser"
|
||||
- key: "G"
|
||||
command: "gh pr view -w"
|
||||
context: "commits"
|
||||
description: "Open Github PR in browser"
|
||||
```
|
||||
|
||||
## Open Existing GitLab Pull Request in Browser
|
||||
|
||||
```yml
|
||||
|
|
|
|||
Loading…
Reference in a new issue