> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/ja-gitbook-documentation/collaboration/change-requests.md).

# 変更リクエスト

変更リクエストは、メインコンテンツのコピーです。ブランチの概念に基づいており、GitHubのプルリクエストやGitLabのマージリクエストを使用する方には馴染みのあるものです。

変更リクエストでは、コンテンツの編集、更新、削除を行い、変更のレビューを依頼した後、メインバージョンにマージできます。

サイト全体のオープン中の変更リクエストを参照・管理するには、 [変更リクエスト画面](/docs/documentation/ja-gitbook-documentation/collaboration/change-requests/change-requests-screen.md).

<figure><img src="/files/dafbf116f42e7d99e8bc69bc7f4bd7d4e285ce0f" alt="A GitBook screenshot showing the change requests panel"><figcaption><p>変更リクエストを通じてコンテンツを編集します。</p></figcaption></figure>

### 差分ビューで変更をレビューする <a href="#diff-mode" id="diff-mode"></a>

次を開きます： **変更** タブを開いて、変更リクエスト内の編集内容をレビューします。すべてのページをコンテキスト内でレビューすることも、変更されたページのみに集中することもできます。

{% hint style="info" %}
デフォルトでは、変更は「分割ビュー」で表示されます。左側にはページの「変更前」バージョン、右側には「変更後」の状態が表示されます。1列レイアウトで変更をインライン表示したい場合は、目次パネルの右上にある差分モードボタンをクリックしてください。
{% endhint %}

### 変更リクエストを作成してマージする

{% stepper %}
{% step %}

### 変更リクエストを開く

コンテンツを編集するには、変更リクエストを開きます。開く方法はいくつかあります：

* クリック **編集** セクションの右上隅にある。
* GitBook Agentに代わりに作成するよう依頼します。
* GitBook Agentは、ドキュメントの不足を検出すると自動的に作成することがあります。

手動で開くと、GitBookが変更リクエストを作成し、エディターで開きます。
{% endstep %}

{% step %}

### 変更を加える

エディターで直接コンテンツを編集するか、GitBook Agentと連携します。

先に進む前に変更内容をレビューします。レビューを依頼する準備が整うまで、編集を続けることができます。
{% endstep %}

{% step %}

### レビューを依頼する

次を開きます： **概要** タブを開き、1人以上のレビュアーをタグ付けします。

レビュアーは変更を承認したり、コメントを残したり、追加の編集を依頼したりできます。誰もタグ付けしない場合、そのセクションでレビュアー権限を持つ全員に通知されます。セクションにレビュアーがいない場合は、代わりに編集者と管理者に通知されます。

誰かが変更を依頼した場合は、マージする前に変更リクエストを更新してください。GitBook Agentに変更リクエストのレビューを依頼することもできます。
{% endstep %}

{% step %}

### マージ

変更リクエストが承認されたら、次を開きます： **概要** タブを開き、次をクリックします： **マージ**.

GitBookは変更を直ちに公開中のドキュメントに適用します。セクションでマージルールを使用している場合、GitBookはマージ前にそれらを確認します。

マージは元に戻せません。コンテンツを元に戻す、または調整するには、新しい変更リクエストを開いてください。
{% endstep %}
{% endstepper %}

### 変更リクエストの操作

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>変更リクエスト画面</strong></td><td>サイト全体の変更リクエストを表示・管理する</td><td><a href="/pages/ed0088049b34dc0787b0ead1b9a63141945737de">/pages/ed0088049b34dc0787b0ead1b9a63141945737de</a></td></tr><tr><td><strong>セクション内の変更リクエスト</strong></td><td>単一のセクションで変更リクエストを作成・レビューする</td><td><a href="/pages/6ab8ca5d1b8eafe06b78dea74a9dc423c3cb0437">/pages/6ab8ca5d1b8eafe06b78dea74a9dc423c3cb0437</a></td></tr></tbody></table>


---

# 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://gitbook.com/docs/documentation/ja-gitbook-documentation/collaboration/change-requests.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.
