list
The list command lets you list all merge requests in a repository. The returned list is ordered by the most recent merge request.

Usage

1
kit mr list [options]
Copied!
1
Usage:
2
kit mr list [flags]
3
4
Flags:
5
-d, --date string Set date format (default "Mon Jan _2 15:04:05 2006 -0700")
6
-f, --format string Set output format
7
-h, --help help for list
8
-n, --limit int Limit the number of records to returned
9
--reverse Return the result in reversed order
Copied!

Options

    -n, --limit - Limit the number of merge requests to return.
    --reverse - Reverses the order from descending (latest) to ascending (oldest).
    -d, --date - Provide a different date format.
    -f, --format - Format the output for each merge request. These are the supported verbs:
      %i: Index of the post
      %bb: Base branch name
      %bh: Base branch hash
      %tb: Target branch name
      %th: Target branch hash
      %a: Author of the post
      %e: Author email
      %t: Title of the post
      %c: The body/preview of the post
      %d: Date of creation
      %H: The full hash of the first comment
      %h: The short hash of the first comment
      %n: The reference name of the post
      %pk: The push key address
    -h, --help - Prints out a help message.

Example

1
kit mr list
Copied!
Last modified 10mo ago
Copy link