# environments:reset

{% hint style="success" %}
This is the official documentation of the `forestadmin-agent-django` and `forestadmin-agent-flask` Python agents.
{% endhint %}

The `forest environments` command is very useful as it allows you to manage your environments. But the subcommand that we're more specifically interested in when it comes to developing on Forest Admin is:

```
$ forest environments:reset --help
Reset a remote environment by removing all layout changes

USAGE
  $ forest environments:reset

OPTIONS
  -e, --environment=environment  The remote environment name to reset.
  -p, --projectId=projectId      The id of the project to work on.
  --force                        Skip reset changes confirmation.
```

As you've learned in [previous pages](/developer-guide-agents-python/deploying-to-production/forest-cli-commands/push.md), the `forest push` command lets you push changes made in the layout to a Remote Environment and later `deploy` them to your Production.

Sometimes though, there comes a time when you have stacked too many layout changes on a Remote Environment and just want to get rid of them.

Unlike a branch which you can just dispose of, for a Remote Environment you need a way to clean the layout changes easily. This is where the `forest environments:reset` command comes in.

![](/files/m4u67TpYRwLLWVyCDDc8)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.forestadmin.com/developer-guide-agents-python/deploying-to-production/forest-cli-commands/environments-reset.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
