Skip to content

Instantly share code, notes, and snippets.

@clarkli86
Created May 6, 2015 03:14
Show Gist options
  • Select an option

  • Save clarkli86/febc2c1a5dd2d386b131 to your computer and use it in GitHub Desktop.

Select an option

Save clarkli86/febc2c1a5dd2d386b131 to your computer and use it in GitHub Desktop.
Cherry pick all commits after a specified hash from another branch
# All commits after 53c2 on jd/master branch will be cherry-picked into the current branch
git rev-list --reverse 53c2..jd/master | git cherry-pick --stdin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment