glab(1)

πŸ’– glab-mr-approve πŸ’– (straight outta the glab(1) manual)

🌸 NAME 🌸

glab-mr-approve β€” approve merge requests. That's the whole vibe: you're giving an MR the little "yes bestie" it deserves.

✨ SYNOPSIS ✨

glab mr approve [] [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so real talk: if you don't tell it which merge request to approve, it defaults to the currently checked-out branch. No cap. The branch you're standing on is the one getting the approval glow-up.

πŸŽ€ OPTIONS πŸŽ€

  • -s, --sha="" β€” the SHA that must match the SHA of the HEAD commit of the merge request. Like, it has to line up exactly, bestie. This is the vibe check for the commit.

🫢 OPTIONS INHERITED FROM PARENT COMMANDS 🫢

  • -h, --help[=false] β€” show help for this command. Your little "wait, what does this do again?" button.
  • -R, --repo="" β€” pick another repository. You can use OWNER/REPO or GROUP/NAMESPACE/REPO, and the full URL or Git URL is accepted too. Flexible queen behavior.

πŸ”₯ EXAMPLE πŸ”₯

glab mr approve 235
glab mr approve 123 345
glab mr approve branch-1
glab mr approve branch-2 branch-3

# Finds open merge request from current branch and approves it
glab mr approve

Like, you can approve by number, by branch name, multiple at once β€” the whole menu. And that last one? Finds the open merge request from the current branch and approves it. Periodt.

🌈 SEE ALSO 🌈

  • glab-mr(1) β€” go read the main character's other lore.

auto generated by spf13/cobra Β· Nov 2026 Β· glab(1) β€” mwah, bestie πŸ’‹βœ¨

πŸ“¦ where this page comes from