Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GIT - how to test a forked change / pull request? [duplicate]

Tags:

git

github

I need to test the following pull request: https://github.com/grobian/carbon-c-relay/pull/274. I have cloned the master repo to my local drive: git clone https://github.com/grobian/carbon-c-relay.git carbon-c-relay. How do I incorporate the changes from the pull request to my local copy so that I can compile and test?

like image 412
Michael Martinez Avatar asked Jun 05 '26 11:06

Michael Martinez


1 Answers

I found that you can pull a pull request as follows: git pull origin pull/274/head

like image 106
Michael Martinez Avatar answered Jun 08 '26 13:06

Michael Martinez