Introduction
Which pull requests can land first? Merget maps code dependencies across open changes so independent work can move while related changes are prepared in order.
Your next merge
starts here.
Sign in, connect GitHub, turn on a repository and see Merget check your first pull request.
Start the quickstartFind your way
Install the GitHub App
Install the Merget GitHub App, connect an existing installation and understand the permissions it asks for.
CustomizeRepository settings
Every option in a repository's Configure drawer: participation, automation, agent access, analysis, validation and batching.
ConnectAgents and access
Onboard a coding agent with one prompt, choose what it may read and change, and control what agents can do.
BuildHTTP API
Read findings, runs, queue status and graph queries over Merget's HTTP API.
Understand the workflow
- How Merget works Follow six pull requests from arrival to merge. See why a setup-guide fix can land first while changes to billing and retry behavior are coordinated.
- The merge queue How Merget forms a semantic merge queue from dependencies across pull requests, gives independent work priority, and determines when a change can land.
- Conflict resolution How Merget resolves conflicts and repairs findings on your pull request, and when it hands the work back to you.
Six open pull requests. Which can land first?
Imagine six pull requests against main. Three change billing code, two change the retry policy and its tests, and the newest fixes the setup guide. Each author can see CI pass on their own branch. The team still has two decisions to make. Can the guide ship while billing is under review? Which version of the billing formatter should checkout be tested against?
Taking the requests in arrival order can leave a ready guide waiting on billing. Meanwhile, if checkout passes CI today and another pull request renames the formatter before checkout lands, its author has to update the call and run CI again.
Merget forms a semantic merge queue by analyzing the open pull requests in parallel. It uses a code graph built by static analysis to trace dependencies across branches, such as checkout's call to the billing formatter.
Here the guide has no detected interaction with the other work, so it gets first place in a fresh plan. The retry and billing groups can prepare in parallel. Within billing, the plan tells each author which changes will be ahead of theirs. Your repository's checks, reviews and merge mode govern when each change can land.
The setup guide (#246) can land first. The two retry changes and three billing changes form separate groups that can prepare in parallel.
What to look for
- #246 changes only setup documentation and is independent. #244 and #245 interact through retry behavior. #241, #242 and #243 interact through the billing formatter.
- The queue groups interacting pull requests and shows the suggested merge order. Select a pull request to inspect its position and dependencies.
- Groups can prepare in parallel. Pull requests land in queue order after their required checks and reviews pass.
What Merget does
Plans the merge order. Open, non-draft pull requests targeting the configured branch join automatically. Merget updates the plan as changes arrive. In the merge queue, select a pull request to see why it was placed there.
Explains what needs attention. If two related changes would break a caller or change the same behavior, findings show the code involved.
Prepares changes. In Queue and Autonomous modes, Merget tries to resolve conflicts and fix blocking findings against the code each pull request will meet. What a pull request breaks on its own it reports for the author to fix; see Review findings.
Tests combinations. Batching lets your CI check several prepared pull requests together before they land.
Makes the next action clear. The queue shows readiness, checks, reviews, published fixes and work that needs a person.
If the first pull request in an existing queue gets stuck, an optional passing lane can let eligible independent work behind it proceed.
Choose how much to automate
| Mode | What happens |
|---|---|
| Advisory | Merget reports findings and suggests an order. You make changes and merge in GitHub. |
| Queue | Merget prepares pull requests and publishes fixes when needed. You choose when to merge, in GitHub or with an offered Merge N PRs action. |
| Autonomous | Merget also merges ready work automatically under the repository's configured checks, reviews and landing policy. |
You choose the mode for each repository when you first turn it on, and can change it later. See Automation modes.
What you work with
On GitHub, the check named Merget explains the current result and links to the run. Inline comments point to findings on changed lines. Merget also keeps a pull request comment updated when it needs you to resolve conflicts or publishes a fix.
In the dashboard, Home brings together setup progress, live queues, delivery and recent runs. Merge Queues shows all repository queues. Open a repository queue to switch between merge order and Git history, inspect pull request relationships and code, act on Needs you, and browse runs and activity. The Graph explores repository code; Analytics shows delivery and integration results.
For coding agents, the plugin, MCP server and HTTP API give agents findings, queues and code context, and, with the permissions you choose, let them set Merget up and run it. Paste one prompt to onboard your agent.

Start with organization totals, then open the repository you want to inspect.
What to look for
- The left sidebar opens each dashboard section; the organization switch is in the top bar.
- Switch between Table and Board to inspect the same filtered queues.
- Overview tiles describe the organization. The filters below apply to the repository list.
- A repository row shows its target, mode, suggested next pull request and current state.
What stays in your control
You choose which repositories participate, their target branches, automation modes and required checks. GitHub permissions govern repository access and queue actions. Organization owners can pause automatic merges.
A prepared result is not a guarantee that code is correct. Read the run's verification result, keep the checks and reviews your team needs, and review non-blocking findings where the interaction matters. Language coverage and repository settings affect what Merget can find. See Languages and limits.
Where to go next
Quickstart: connect GitHub and read your first result.
How Merget works: follow changes from opening a pull request to merging.
Repository queue: use the current queue workspace.
Unblock a pull request: act on a waiting or blocked change.