How to cherry-pick a commit from another git repository?

Posted by Sean's Blog on Thursday, September 2, 2021
# Adding (as "other") the repo from we want to cherry-pick
$ git remote add other git://github.com/username/repo.git

# Fetch the "other" branch
$ git fetch other

# Cherry-pick the commit we need
$ git cherry-pick 0549522

comments powered by Disqus