> 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 の pull request や GitLab の merge request を使っている人にはなじみ深いものです。

変更リクエストでは、コンテンツの編集、更新、削除ができ、変更に対するレビューを依頼し、最後にメイン版へマージできます。

組織全体の未処理の変更リクエストを管理するには、 [変更リクエスト画面](/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" %}
&#x20;デフォルトでは、変更は「分割ビュー」で表示されます。左側にページの「前」のバージョン、右側に「後」の状態が表示されます。変更を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="/spaces/hMBa7q4krJX0GpAhDwLc/pages/ed0088049b34dc0787b0ead1b9a63141945737de">/spaces/hMBa7q4krJX0GpAhDwLc/pages/ed0088049b34dc0787b0ead1b9a63141945737de</a></td></tr><tr><td><strong>スペース内の変更リクエスト</strong></td><td>1つのスペースで変更リクエストを作成・レビューする</td><td><a href="/spaces/hMBa7q4krJX0GpAhDwLc/pages/6ab8ca5d1b8eafe06b78dea74a9dc423c3cb0437">/spaces/hMBa7q4krJX0GpAhDwLc/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.
