LoginSignup
8
4

More than 3 years have passed since last update.

開発用ブランチにMasterブランチの最新コードを取り込む

Posted at

【手順】
※ もし、作業途中のものでcommit出来るものがあればcommitしておく

1 masterブランチへ移動
git checkout master

2 git pullでmasterを最新に
git pull origin master

3 開発用ブランチへ移動
git checkout 開発用ブランチ

4 mergeコマンドでmaserの内容を取り込む
git merge master

5 取り込んだものをリモートにpush
git push origin 開発用ブランチ

8
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
8
4