mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Added command to open existing GitLab pull request in browser
parent
b4950a9753
commit
d5b213b7fd
1 changed files with 13 additions and 0 deletions
|
@ -102,6 +102,19 @@ customCommands:
|
|||
|
||||
This can be customized to fit your needs. Run `gh pr create --help` to see what flags are available.
|
||||
|
||||
## Open Existing GitLab Pull Request in Browser
|
||||
|
||||
```yml
|
||||
customCommands:
|
||||
- key: "G"
|
||||
command: "glab mr view -w {{.SelectedLocalBranch.Name}}"
|
||||
context: "localBranches"
|
||||
description: "Go to MR in gitlab"
|
||||
stream: true
|
||||
```
|
||||
|
||||
Note: this can be updated to go to github by replacing the command with something similar to the above "Open GitHub Pull Request"
|
||||
|
||||
## Checkout branch via Github Pull Request id
|
||||
|
||||
```yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue