Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to merge remote branch

//make sure you're on the local branch, then:

git pull origin YourRemoteBranch

//which is the same as:

git fetch origin YourRemoteBranch
git merge origin/YourRemoteBranch
 
PREVIOUS NEXT
Tagged: #merge #remote #branch
ADD COMMENT
Topic
Name
2+4 =