Custom Search

SUBSCRIBE

SUBSCRIBE : 300 + Free Video Tutorials Programming (Python, golang, Julia), DevOps

Wednesday, April 20, 2016

How to github Check out pull requests locally

1)
Fetch PR 77 and save it in branch named "new_batch_name"
$git fetch origin pull/77/head:new_batch_name

2)
Got branch "new_batch_name"
$git checkout new_batch_name

3)
Check for all commits in the PR 77
$git log -n 5

No comments:

Post a Comment