I want to clone a repository with unmerged pull request.
Specifically, kaminari_themas with this pull request for zurb-foundation is what I need. How can I clone it?
I want to clone a repository with unmerged pull request.
Specifically, kaminari_themas with this pull request for zurb-foundation is what I need. How can I clone it?
You can clone the main repository normally, and then add the repository from which the pull request originates (in this case linojon/kaminari_themes
) as an additional remote, e.g.:
git clone git://github.com/amatsuda/kaminari_themes
cd kaminari_themes
git remote add linojon git://github.com/linojon/kaminari_themes
git fetch linojon
And then cherry-pick the relevant commit referenced in the pull request:
git cherry-pick cc5a5bcee7fa17ac984eb4f3900bc7594f0b4bcc