> 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/ja/narejjibsu/124-rejecting-changes-how-to-revert-a-chunk-on-overleaf.md).

# 変更の却下: Overleafで「チャンクを元に戻す」方法

![Overleaf の比較モードを使ってチャンクを差し戻す - アニメーションGIF](/files/c2f882b13144c50f14d7bd017ebb2239ad609568)

あなたはすでに、 [バージョン履歴機能](https://www.overleaf.com/blog/194-new-year-new-name-new-free-features#!compare) を使って、プロジェクトの節目ごとの版を保存できることをご存じかもしれません。これらの節目に特定のラベルを付けておけば、VERSIONS メニューの「restore」オプションを使って、以前に保存した版を簡単に復元できます。

![Overleaf の Versions メニューを使う](/files/90a40d627d92ec0ad996b3378515930cf493b01f)

保存された版の右側にある「compare」機能を使えば、プロジェクトの現在の状態と以前に保存された版との変更点を追跡できることも、あなたはすでにご存じかもしれません。

でも、 *特定の変更（「chunks」）* を以前の版に戻せることはご存じでしたか？ 共同編集者による変更を却下したり、最近の誤ったコード行を元に戻したりしつつ、他の編集は受け入れる、といったことができます。これにより、共同編集者の修正を提案のように扱うことができ、「compare mode」を、それらを受け入れるか却下するかのための「suggest mode」として使えます。

![Overleaf の比較モードを使ってチャンクを差し戻す](/files/da2740c07433b6fb17c8e97a11da2514cb14ffd5)

比較モードでは、現在の版（左）と比較対象として保存された版（右）に対応する変更のチャンクが表示されます。各チャンクは、そのままにしておけば受け入れ、または新しい版と古い版の間にある「revert chunk」矢印（上の鮮やかなピンクの矢印で強調されています）をクリックして却下できます。変更の確認が終わったら、比較モードを終了するために COMPARE ボタンをもう一度クリックするのを忘れないでください！


---

# 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/ja/narejjibsu/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.
