rokkonet

PC・Androidソフトウェア・アプリの開発・使い方に関するメモ

git ブランチの統合

2018 Aug. 17.

devブランチのmasterブランチへの統合

(現在のブランチを確認する)
$ git branch

(devブランチに移る)
$ git checkout dev

(devブランチを最新に)
$ git fetch origin dev
$ git merge FETCH_HEAD

(masterブランチにチェック移る)
$ git checkout master

(masterブランチを最新に)
$ git fetch origin master
$ git merge FETCH_HEAD

(devブランチをmasterブランチに統合)
$ git merge dev