Forrest logo
back to the glab tool

glab-mr:tldr:9a9bc

glab-mr: Edit the target branch of a merge request.
$ glab mr update --target-branch ${branch_name}
try on your machine

This command is using the "glab" command-line tool to update a merge request (MR), specifically the target branch associated with that MR. The "--target-branch" flag is used to specify the branch that the MR will be merged into. Here, ${branch_name} is a placeholder that needs to be replaced with the actual name of the target branch. For example, if you want to update the MR to merge into a branch named "feature-branch", the command would be: glab mr update --target-branch feature-branch This command is typically used when you want to change the target branch for an MR, which determines where the changes in the source branch will be merged into.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the glab tool