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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Contents

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



Ref

  • No labels

This page has no comments.