Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Pulling Someone Else's Branch to Test their Pull Request

BennyChun edited this page Apr 2, 2019 · 1 revision

Add their repo as a remote:

git remote add other <their repo>

Fetch their stuff:

git fetch other

Make a temporary branch to test their stuff.

git checkout -b temp

Pull their branch that you want to test:

git pull other 123-their-branch-name
npm install
npm start

Clean up:

git checkout master
git branch -d temp
git remote rm other

Guide by Zain Azimullah

Clone this wiki locally