Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

switch to remote branch git

# creates a branch called some_branch
# switches to this newly created branch
# pulls changes from the origin remote branch
git checkout -b some_branch origin/some_branch
 
PREVIOUS NEXT
Tagged: #switch #remote #branch #git
ADD COMMENT
Topic
Name
7+1 =