0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

GitとGitHub

Posted at

目的

  • エンジニアに不可欠のツールであるGitとGitHubを用いたワークフローを整理する

ワークフロー

今回は2種類のワークフローについてのまとめ
1.git-flow
2.GitHub Flow

1.git-flow

各ブランチと説明

  • main…リリース済みのソースコードを管理する
  • develop…開発中のソースコードを管理する
  • hotfix…緊急の修正を行う、mainから分岐する
  • feature…各自の開発を行う、developから分岐する
  • release…リリース前の準備を行う、developから分岐する

ワークフロー

mainからdevelopを切る

developからfeatureを切って各自開発

開発が完了したらdevelopにマージしていき、全体の開発完了後developからreleaseを切る

リリースの準備が完了したらmainとdevelopにreleaseをマージしデプロイ

2.GitHub Flow

各ブランチと説明

  • main…リリース済みのソースコードを管理する
  • feature…各自の開発を行う

ワークフロー

mainからfeatureを切る

開発完了後pullリクエストを作成してコードレビューを依頼

問題がなければmainにマージしデプロイ

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?