cdiacon
9/5/2017 - 11:50 AM

git checkout PR on local

git checkout PR on local

Add refs to the remote pr when do a fetch to global config : 
git config --global --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*"

fetch remote :
git fetch origin

checkout new branch on pull request : 
git checkout pr/42