1
4

More than 3 years have passed since last update.

git-flowモデル

Last updated at Posted at 2020-08-16

git-flowモデルとは

Gitのブランチモデルのひとつ。
(無秩序にブランチを切るのではなく、ルールを決めてブランチを切ることでコードを管理する。その際に参考にするのがGitブランチモデル。)
ブランチモデルの中では比較的歴史が長く、git-flowをサポートしているツールも数多くある。

使用する5つのブランチ

1. developブランチ
 開発を行うためのブランチ。
 主にこのブランチ上で作業を行う。
2. featureブランチ
 主な機能を実装するためのブランチ。
3. releaseブランチ
 リリースの準備を行うためのブランチ。
4. masterブランチ
 リリースしたソースコードを管理するためのブランチ。
 このブランチへのコミットは行わない。
5. hotfixブランチ
 リリースされたソフトウェアに緊急の修正を行うためのブランチ。
image.png

1
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
4