# Testing Pull Requests Easily!

## IMPORTANT! First connect to the Red Hat VPN before the following steps.

1. [Open the Console!](http://tlv-cnv-gilad.usersys.redhat.com:9000)
2. Open a Terminal
3. Login to our VM - `ssh tlv-cnv@tlv-cnv-gilad.usersys.redhat.com` (Password is in coreos slack)
4. Navigate to the Console directory - `cd coding/matthewcarleton/console`
5. Lets update the pull requests list - `git fetch upstream`
5. Fetch a Pull request - `git fetch upstream pull/ID/head:BRANCHNAME`
replace `ID` with the pull request ID in github, and `BRANCHNAME` with the name of the branch ( can be anything as long as it doesn't exist yet) 
6. Checkout to our new branch with the pull request - `git checkout BRANCHNAME`
7. Webpack will automatically recompile and you should see the results!

### Example -  `git fetch upstream pull/4761/head:4761`

This will create a branch named `4761` that contains the changes from pull request #4761, 
now we can `git checkout 4761` and webpack will recompile automatically and you should see the changes in
the [Console!](http://tlv-cnv-gilad.usersys.redhat.com:9000)

### Only one branch can be active at a time, so designers should let others know when they are testing so they won't change the branch!