LoginSignup
0
0

More than 3 years have passed since last update.

他ブランチの特定コミットを取り込みたい

Posted at

他のブランチのコミットを取り込みたいときの手順(記録)

ターミナル.

$git checkout hogebranch2

取り込みたいコミットがあるブランチに移動する

$git log --oneline

コミットログを確認

$git checkout hogebranch1

取り込みたいブランチに戻り

$git cherry-pick XXXXXXXXXXXXXXXXXXX

cherry-pickでコミットを取り込む


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