---
title: "ezgh git prs list"
description: "List a repository's pull requests."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh git prs list

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh git prs list <repo> [--state s] [flags]
```

List a repository's pull requests, newest first: open ones unless `--state` is closed, merged or all.

Part of [`ezgh git prs`](/cli/reference/git-prs).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--all` | boolean |  | follow nextCursor through every page |
| `--cursor` | string |  | start from this page (a previous page's nextCursor) |
| `--limit` | int | `20` | items per page, 1 to 100 |
| `--state` | string |  | open (the default), closed, merged or all |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/git-prs-list/index.mdx
