Reputation: 23830
I am using Windows and GitHub on Windows.
First I have created a repository like this:
Then I have right clicked and clicked open git-shell:
This is the master branch that I want as base:
https://github.com/FeroxRev/Pokemon-Go-Rocket-API
Then I have copy pasted this command to gitshell for clone it:
git clone https://github.com/FeroxRev/Pokemon-Go-Rocket-API
Ok now it is properly cloned.
Now what I want to do is merging for example this pull request to my local repository: https://github.com/FeroxRev/Pokemon-Go-Rocket-API/pull/53.
What command do I need?
This is the branch i want to merge with my local repo
Upvotes: 2
Views: 1300
Reputation: 15976
The pull request points to a branch in a fork: you can fetch this fork.
git fetch https://github.com/martin-podlubny/Pokemon-Go-Rocket-API
git merge transfer-all-but-strongest-unwanted-pokemon
Upvotes: 2
Reputation: 7074
GitHub provides some nice documentation detailing how to merge pull requests here:
https://help.github.com/articles/merging-a-pull-request/
No commands required. However, make sure that after you merge on your repo, you checkout the changes on your local machine so that you are up to date with HEAD.
Upvotes: 2