Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to switch to a remote git branch that does not exist locally

// If daves_branch exists on the remote repository, 
// but not on your local branch, you can simply type:
git fetch origin
git switch daves_branch
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #switch #remote #git #branch #exist #locally
ADD COMMENT
Topic
Name
8+4 =