DevOps / Gitlab Interview questions
What is a GitLab merge request?
A merge request (MR) is GitLab's mechanism for proposing that changes on one branch be reviewed and merged into another, typically a feature branch into main. It's the same concept as a GitHub pull request, just under a different name.
An MR bundles the diff, a discussion thread, CI/CD pipeline results, and approval status into a single page. Reviewers can comment inline on specific lines, request changes, or approve, and the MR shows whether the linked pipeline passed before anyone merges.
Teams commonly configure rules so an MR can't merge until it has a passing pipeline, a minimum number of approvals, and no unresolved threads, which turns the merge request into the actual gatekeeper for code quality rather than just a formality.
More Related questions...