【Git】他のブランチを現在のブランチへ取り込む

Git


Warning: Undefined array key 2 in /home/god48/god48.com/public_html/wp-content/themes/luxech/functions.php on line 99

Warning: Undefined array key 4 in /home/god48/god48.com/public_html/wp-content/themes/luxech/functions.php on line 104

Warning: Undefined array key 6 in /home/god48/god48.com/public_html/wp-content/themes/luxech/functions.php on line 109

kamiです。

ローカルブランチを取り込む

git merge ブランチ名

リモートブランチを取り込む

git merge リモート/ブランチ名
icon

実例で書くとこうなります。

git merge origin/feature/branch-name

以上です!
簡単ですね。
merge後は取り込んだ内容をそのままpushしてください。

GitGit

Posted by kami