Sean's Blog

心之所向,身之所往。

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

# 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