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

# forest environments:reset

> Remove all layout changes from a remote environment

# forest environments:reset

Reset a remote environment by removing all the layout changes made on it, so that it matches its origin again.

## Usage

```bash theme={null}
forest environments:reset [options]
```

## Options

| Option | Description |
| - | - |
| `-e, --environment` | Name of the remote environment to reset. Prompted when omitted |
| `-p, --projectId` | The ID of the project to work on |
| `--force` | Reset without asking for confirmation |

> [!WARNING]
>
> The layout changes removed by a reset are lost. Push or deploy anything worth keeping first.

## Examples

```bash theme={null}
# Reset staging, with a confirmation prompt
forest environments:reset --environment staging

# Reset without confirmation
forest environments:reset -e staging --force
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.