Added command to open existing GitLab pull request in browser

Bryan Lott 2023-07-20 09:44:29 -06:00
parent b4950a9753
commit d5b213b7fd

@ -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