---
title: "ezgh build rerun"
description: "Run a pipeline's commit again."
---

> 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 build rerun

{/* 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 build rerun [pipeline] [--no-cache] [--follow] [flags]
```

Start a new pipeline for the same connection, ref and commit as a pipeline. Tasks whose inputs haven't changed are skipped as on any run; `--no-cache` runs them all. `--follow` follows the new pipeline as `ezgh build run` does.

Without a pipeline it is the connection's newest pipeline of your checkout's HEAD commit.

Part of [`ezgh build`](/cli/reference/build).

## Examples

```sh
ezgh build rerun --follow
ezgh build rerun bld_4k2m9x0a7qpe --no-cache
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--connection` | string |  | the connection, when the project has more than one and no pipeline is named |
| `--follow` | boolean |  | follow the new pipeline to its end |
| `--no-cache` | boolean |  | run every task, reusing nothing |

Inherited from parent commands:

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--dir` | string | `.` | the repository's checkout (any directory inside it) |
| `--json` | boolean |  | print JSON, as -o json does |

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

Source: https://docs.ezghcloud.com/cli/reference/build-rerun/index.mdx
