Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Cryptophobia/000db3a07804a5e7f25bf29a2099920d to your computer and use it in GitHub Desktop.
Save Cryptophobia/000db3a07804a5e7f25bf29a2099920d to your computer and use it in GitHub Desktop.
git-format-patch
git --git-dir=../<some_other_repo>/.git \
format-patch -k -1 --stdout <commit SHA> | \
git am -3 -k
# https://stackoverflow.com/questions/5120038/is-it-possible-to-cherry-pick-a-commit-from-another-git-repository
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment