> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/it/base-di-conoscenza/124-rejecting-changes-how-to-revert-a-chunk-on-overleaf.md).

# Rifiutare le modifiche: come "annullare una porzione" su Overleaf

![Ripristino di un blocco tramite la modalità di confronto in Overleaf - GIF animata](/files/8a6870749fcd04a3e44fdc5cd9a80901dd344ed8)

Potresti già sapere come la [funzione cronologia delle versioni](https://www.overleaf.com/blog/194-new-year-new-name-new-free-features#!compare) su Overleaf può essere usata per salvare versioni intermedie del tuo progetto. Assegnando a queste versioni un'etichetta specifica, puoi ripristinare facilmente una versione salvata in precedenza usando l'opzione 'restore' nel menu VERSIONS.

![Utilizzo del menu Versioni su Overleaf](/files/dd95a7e3893df750bc4cd24fbcef8c0ac767ea2a)

Potresti persino sapere che puoi tenere traccia delle modifiche tra lo stato attuale del tuo progetto e una versione salvata in precedenza, usando la funzione 'compare' a destra della versione salvata.

Ma sapevi che puoi anche ripristinare *modifiche specifiche ('chunks')* alla versione precedente – magari per rifiutare alcune modifiche apportate da un coautore, o per annullare una recente riga di codice errata, ma accettando altre modifiche? Questo ti permette di trattare di fatto le revisioni del tuo coautore come suggerimenti, usando la 'modalità di confronto' come una 'modalità suggerimenti' per accettarle o rifiutarle.

![Ripristino di un blocco tramite la modalità di confronto in Overleaf](/files/9ace580d85bc457107d81f283ebe72ca8584c0b5)

Quando sei in modalità di confronto, vedrai i corrispondenti blocchi di modifiche nella versione corrente (a sinistra) e la versione salvata da confrontare (a destra). Puoi accettare ciascun blocco lasciandolo com'è, oppure rifiutarlo facendo clic sulla freccia 'ripristina blocco' tra la nuova e la vecchia versione (evidenziata dalla freccia rosa acceso sopra). Ricorda solo di fare di nuovo clic sul pulsante COMPARE quando hai finito di rivedere le modifiche per uscire dalla modalità di confronto!


---

# 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, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/it/base-di-conoscenza/124-rejecting-changes-how-to-revert-a-chunk-on-overleaf.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
