What will be the way of clone the pull request into my repo locally? https://github.com/RoboSherlock/robosherlock/pull/215 This is the pull request I want to merge into my fork or locally. I search some questions here but that looks different, I want to merge these pull requests into my repo. This pull request is in the master branch but I have to merge in the noetic branch.
How to clone and merge a specific pull request made by other in to my own repository locally
815 views Asked by Ab Danyia At
1
Key fact: The last commit in the pull request branch is
bb7efd3
.So the direct way to do this is that you would get onto the
noetic
branch and mergebb7efd3
into it. You will have one small merge conflict to resolve and then you're all set.I think if I wanted to do this through a pull request I would get onto
noetic
, rebase the two commits of the original pull request branch onto it, call that a new branch, push my new branch, and create the pull request. Here, I'll show you:As you can see, the result is exactly the topology you want — a new branch off of
noetic
that looks like the old pull request branch:So now you can push
newbranch
and form a pull request in the ordinary way.