Skip to content

Instantly share code, notes, and snippets.

@feymartynov
Created February 22, 2013 09:04
Show Gist options
  • Save feymartynov/5011921 to your computer and use it in GitHub Desktop.
Save feymartynov/5011921 to your computer and use it in GitHub Desktop.
git cherry-pick to other repository
destination/directory$ GIT_ALTERNATE_OBJECT_DIRECTORIES=../source/directory/.git/objects git cherry-pick $(git --git-dir=../source/directory/.git rev-parse --verify commit_hash)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment