Command Line

Interacting with your merge queue from the command line

The Trunk CLI allows you to insert and remove PRs into the Merge Queue. You can also pause and resume the queue from the CLI.

Before you can use the CLI, install it following the CLI Installation docs.

trunk merge <command>
Description

status

display snapshot of activity in the merge queue including recently merged, currently testing, and enqueued pull requests

status <pr-number>

display merge queue history for the pull request

<pr-number>

insert the specified pull request into the merge queue

cancel <pr-number>

remove a pull request from the merge queue

pause

[admin only] pause the merge queue processing

resume

[admin only] resume merge queue processing

Last updated