Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

checkout a pr locally

git fetch origin pull/$PullRequestId/head:$NewBranchName
git checkout $NewBranchName
 
PREVIOUS NEXT
Tagged: #checkout #pr #locally
ADD COMMENT
Topic
Name
6+2 =