> 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/gong-tong-zuo-ye/change-requests.md).

# 変更リクエスト

変更リクエストは、メインコンテンツのコピーです。ブランチという概念に基づいており、GitHub の pull request や GitLab の merge request を使っている人にはなじみのある仕組みです。

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

サイト全体の未完了の変更リクエストを閲覧・管理するには、次を参照してください: [変更リクエスト画面](/docs/documentation/ja-gitbook-documentation/gong-tong-zuo-ye/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>

### diff表示で変更を確認する <a href="#diff-mode" id="diff-mode"></a>

を開き **変更** タブを開いて、変更リクエスト内の編集を確認します。すべてのページを文脈の中で確認することも、変更されたページだけに絞って確認することもできます。

{% hint style="info" %}
デフォルトでは、変更は「分割表示」で表示されます。左側にページの「変更前」バージョン、右側に「変更後」の状態が表示されます。1列レイアウトでインライン表示したい場合は、目次パネルの右上にある diff モードボタンをクリックしてください。
{% 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/gong-tong-zuo-ye/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.
