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

# ブランチの概要

Flosum プロジェクト内のすべてのブランチを表示および管理します。

{% hint style="warning" %}

#### 旧UI向けに作成

この記事は旧UI向けに作成されました。手順は今でも使用できますが、スクリーンショットは古くなっています。場合によっては、手順で参照されている項目が移動または変更されていることがあります。項目が見つからない場合は、 [どこに行ったのか](/devops/devops-ja/shii-uiux-heno/dokonittanoka.md) 記事。
{% endhint %}

## ![](https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FG5ZbxX918xOHwbAwAJ4n%2FSummary2-Small-Icon.svg?alt=media\&token=da26a67f-ff7f-47b3-8669-06be960dc2d7) 概要 <a href="#overview" id="overview"></a>

DevOps のブランチには、〜からアクセスできます **コード** ページでは、プロジェクト内で利用可能なすべてのブランチが表示されます。各ブランチはコードベースの作業コピーとして機能し、個別の変更を行うことができます。ユーザーはブランチを検索し、所有者またはアクティビティでフィルターを適用し、最新の更新順に並べ替えることができます。

開始点は **main** ブランチです。これは Production 組織から直接同期され、唯一の正しい情報源であり、すべての開発作業の基盤となります。開発者は Main Branch から feature ブランチを作成し、Production との整合性を保ちながら、分離された作業スペースを提供します。

<figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2F5XVUGRDrsquvCTr1XvFK%2FOverviewOfBranches-01.png?alt=media&amp;token=fe4967b1-1604-440e-966c-1cd600903d84" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}

#### ベストプラクティス

* わかりやすいブランチ名を使用してください（例： **feature/new-approval-process**）にすると、共同作業がしやすくなります。
* 定期的に **Behind/Ahead** の件数を確認して、ブランチを main ブランチに追従させてください。
* 古くなったブランチは閉じるか整理して、リポジトリを健全に保ちましょう。
  {% endhint %}

## ブランチを作成

新しいブランチを作成するには、 **ブランチを作成** ボタンをクリックしてソースブランチを選択します。新しいブランチの作成手順の詳細は、次の記事を参照してください。

* [ブランチの作成](/devops/devops-ja/kdo/buranchino-1/buranchino.md)

## ブランチの表示

利用可能なブランチは、次の 2 種類の表示で確認できます。 **リスト** と **カンバン**。これらについては以下のセクションで説明します。表示を切り替えるには、表示切り替え機能を使用します。

どちらの表示でも、ブランチの検索と並べ替えができます。

* **ブランチを検索** – 名前でブランチをすばやく見つけます。
* **アクティビティで並べ替え** – 最新の更新日または名前でブランチを並べ替えます。

<figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FiRDn3KsWM6KIrzgr3gHr%2FOverviewOfBranches-02.png?alt=media&amp;token=d1326974-9535-4a67-907b-a38e7c2060ce" alt=""><figcaption></figcaption></figure>

### リスト表示（既定）

その **リスト** 表示では、各ブランチの主な詳細を示す表で、すべてのブランチが表示されます。

<figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2FCypeNsOEPhJApyWNg4D2%2FOverviewOfBranches-03.png?alt=media&amp;token=2cc81dbd-3e1a-4af0-8eba-74665093d7b4" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="179.99993896484375">ブランチ項目</th><th>説明</th></tr></thead><tbody><tr><td><strong>名前</strong></td><td>ブランチの名前（例：main、ReleaseBranch）。</td></tr><tr><td><strong>作成者</strong></td><td>ブランチを最後に更新したユーザー。</td></tr><tr><td><strong>最終アクティビティ</strong></td><td>最新のコミット、更新、またはアクティビティからの経過時間。</td></tr><tr><td><strong>Behind / Ahead</strong></td><td>ブランチがソースブランチより遅れている、または先行しているコミット数です。ほとんどの場合、これは <strong>main</strong> ブランチになります。</td></tr><tr><td><strong>プルリクエスト</strong></td><td>ブランチに関連付けられているリンク済みプルリクエスト。</td></tr></tbody></table>

#### ブランチのフィルター <a href="#branch-filters" id="branch-filters"></a>

表の直上にあるオプションを使って、表をフィルターできます。

<table><thead><tr><th width="180">フィルター</th><th>説明</th></tr></thead><tbody><tr><td><strong>すべて</strong></td><td>すべてのブランチを表示します。</td></tr><tr><td><strong>自分の</strong></td><td>自分が作成した、または所有しているブランチのみを表示します。</td></tr><tr><td><strong>アクティブ</strong></td><td>最近更新されたブランチを表示します。</td></tr><tr><td><strong>古い</strong></td><td>最近のアクティビティがないブランチのみを表示します。</td></tr></tbody></table>

### カンバン表示 <a href="#actions" id="actions"></a>

その **カンバン** 表示では、ブランチとそのデプロイ先を視覚的に確認できます。ボードは、各ブランチが直近でデプロイされた環境ごとに整理されています。環境は組織の環境に対応します。たとえば、 **feature/new-feature** ブランチが **quality-one** 組織にデプロイされており、その組織には **QA** 環境がある場合、そのブランチはボードの **QA** セクションに表示されます。ボードには次のセクションが含まれます。

<figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2Fmp2fhhyV3cNToFbQZoLA%2FOverviewOfBranches-04.png?alt=media&amp;token=36dbcfaf-53d7-463b-a5f7-befe73ccf18c" alt=""><figcaption></figcaption></figure>

* **まだデプロイされていません** （デプロイされていないブランチを含みます）
* **開発**
* **QA**
* **テスト**
* **本番**

{% hint style="info" %}
どの組織がどの環境にあるのかわからない場合は、 **組織** 表を表示して、各組織に割り当てられている環境を確認してください。
{% endhint %}

#### ブランチカードの詳細

各ブランチは詳細を含むカードで表されます。ブランチカードは展開してさらに詳細を表示でき、各項目は以下の表で説明されています。

<div align="left"><figure><img src="https://225042527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRpUu5iMlzMFAudyBvMOl%2Fuploads%2Fo90iiTOS3ZV4p3pdZRuR%2FOverviewOfBranches-05.png?alt=media&amp;token=26b2337f-756b-4a1b-baf8-5a6e9153dbda" alt="" width="563"><figcaption></figcaption></figure></div>

<table><thead><tr><th width="180">ブランチ詳細</th><th>説明</th></tr></thead><tbody><tr><td>名前</td><td>ブランチの名前（例：main、ReleaseBranch）。</td></tr><tr><td>最終アクティビティ</td><td>最新のコミット、更新、またはアクティビティからの経過時間。</td></tr><tr><td>最終デプロイ</td><td>最後のデプロイからの経過時間。</td></tr><tr><td>所有者</td><td>ブランチを作成したユーザー。</td></tr><tr><td>合計コンポーネント数</td><td>ブランチ内のコンポーネント数。</td></tr><tr><td>Behind / Ahead</td><td>ブランチがソースブランチより遅れている、または先行しているコミット数です。ほとんどの場合、これは <strong>main</strong> ブランチになります。</td></tr><tr><td>プルリクエスト</td><td>ブランチに関連付けられているリンク済みプルリクエスト。</td></tr></tbody></table>

## ブランチの選択

ブランチの詳細をさらに表示したり、ブランチに対して操作を行ったりするには、ブランチをクリックします。ブランチに関する包括的なドキュメントについては、次のセクションを参照してください。

* [ブランチ操作](/devops/devops-ja/kdo/buranchi.md)
* [コードツール](/devops/devops-ja/kdo/kdotsru.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flosum.com/devops/devops-ja/kdo/buranchino.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
