Checkout Github Pull Request

To fetch a remote Github Pull Request into your local repository so you can test it you need to do the following:

git fetch origin pull/ID/head:BRANCHNAME

where ID is the pull request id and BRANCHNAME is the name of the new branch that you want to create.

Once you have created the branch, then simply check out the branch

git checkout BRANCHNAME

which then allows you to do a npm run dev to do some serious testing.

See the official GitHub documentation for more.

This is ideal when you have created a major pull request or ran a LaravelShift upgrade.

Props Timbo @ https://stackoverflow.com/a/30584951/460885

Jasper Frumau

Jasper has been working with web frameworks and applications such as Laravel, Magento and his favorite CMS WordPress including Roots Trellis and Sage for more than a decade. He helps customers with web design and online marketing. Services provided are web design, ecommerce, SEO, content marketing. When Jasper is not coding, marketing a website, reading about the web or dreaming the internet of things he plays with his son, travels or run a few blocks.