1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:22:08 +02:00
tldr/pages/common/glab-mr.md
Lena b596b78b18
pages/*: standardize mentioning subcommands without the main command (#13626)
* pages/*: standardize mentioning subcommands without the main command

* CONTRIBUTING: clarify that pages should only mention the subcommand
2024-10-04 21:14:41 +02:00

687 B

glab mr

Manage GitLab merge requests. Some subcommands such as create have their own usage documentation. More information: https://glab.readthedocs.io/en/latest/mr.

  • Create a merge request:

glab mr create

  • Check out a specific merge request locally:

glab mr checkout {{mr_number}}

  • View the changes made in the merge request:

glab mr diff

  • Approve the merge request for the current branch:

glab mr approve

  • Merge the merge request associated with the current branch interactively:

glab mr merge

  • Edit a merge request interactively:

glab mr update

  • Edit the target branch of a merge request:

glab mr update --target-branch {{branch_name}}