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? 
            Asked
            
        
        
            Active
            
        
            Viewed 133 times
        
    3
            
            
         
    
    
        Michael Martinez
        
- 2,693
- 1
- 16
- 19
- 
                    1See https://help.github.com/articles/checking-out-pull-requests-locally/ – phd Jun 20 '17 at 19:54
- 
                    1yeah, I found I can do a `git pull origin pull/274/head` – Michael Martinez Jun 20 '17 at 23:18
1 Answers
2
            
            
        I found that you can pull a pull request as follows: git pull origin pull/274/head
 
    
    
        Michael Martinez
        
- 2,693
- 1
- 16
- 19
- 
                    You can also create a branch: `git fetch origin pull/274/head:pull-274 && git checkout pull-274`. – phd Jun 20 '17 at 23:22
-