4
3

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 5 years have passed since last update.

オレオレgit-flow

4
Posted at

前提としてgitのインストール済みとする

環境設定

Homebrewでgit-flowをインストール

$ brew install git-flow

リポジトリの初期化

$ git flow init -d

操作

git-flowの作業フロー

1 ブランチの作業開始
2 ブランチの共有
3 ブランチの取得
4 コミットのプッシュ
5 コミットの取り込み
6 ブランチの作業終了

git-flowのコマンド

$ git flow {ブランチ種別} {コマンド}
ブランチ種別 日本語
master マスターブランチ
release リリースブランチ マスターから派生する
develop 開発ブランチ
feature 開発ブランチ
hostfix 緊急バグ対応ブランチ
rebase リベース
コマンド 内容
start ブランチ作成
finish ブランチ終了
publish ブランチを公開
track ブランチを取得
pull コミットを取得
rebase リベース
4
3
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
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?