Child pages
  • cherry pick a range of commits and merge into another branch


git 커밋을 범위별로 체리픽하기

# Checkout a new temporary branch at the current location
git checkout -b tmp

# Move the integration branch to the head of the new patchset
git branch -f integration last_SHA-1_of_working_branch_range

# Rebase the patchset onto tmp, the old location of integration
git rebase --onto tmp first_SHA-1_of_working_branch_range~1 integration


  • No labels

This page has no comments.