How to process a pending pull request.
Go to the Pull Request tab in the Github repo
Review the PRs
Checkout the master branch
Merge in code from the test branch
If the commit being merged is within the same repo then a simple command will get the code.
git checkout pull-request-SHA1 # PR Commit
If you have write permission to the code then there is a button that shows you the shell commands needed.
You can find the commands to checkout people’s code for testing by clicking “command line instructions” next to the Merge Pull request button.
Create a new branch in Schematize (or other repo). Each PR can get its own branch so that we can see them later.
git checkout -b pr-49 master
This command creates a new branch called pr-49 that is build from the current head of master.
Get the code from the desired branch. Git pull does a fetch of the desired repo and merges the desired commit into the new branch.
git pull email@example.com:BonfaceKilz/Schematize.git e799c5ca667cdbd4dbe8db973b81fc8cae7b55ca git pull firstname.lastname@example.org:[REPO] [COMMIT] # General Syntax