> For the complete documentation index, see [llms.txt](https://dojo.lkmx.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dojo.lkmx.io/git/hacer-un-git-revert.md).

# Hacer un git revert

## Opciones comunes

```
-e
--edit
```

Esta es una opción predeterminada y no es necesario especificarla. Esta opción abrirá el editor del sistema configurado y le pedirá que edite el mensaje de confirmación antes de confirmar la reversión.

```
--no-edit
```

Esta es la inversa de la `-e`opción. La reversión no abrirá el editor.

```
-n
--no-commit
```

Pasar esta opción evitará `git revert`la creación de una nueva confirmación que invierta la confirmación de destino. En lugar de crear la nueva confirmación, esta opción agregará los cambios inversos al índice de ensayo y al directorio de trabajo. Estos son los otros árboles que usa Git para administrar el estado del repositorio. Para más info visita la `git reset`página.

## Enlaces de referencia

* <https://www.atlassian.com/git/tutorials/undoing-changes/git-revert>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://dojo.lkmx.io/git/hacer-un-git-revert.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.
