Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git pull remote changes to local

git checkout my_branch    # move on your branch (make sure it exists)
git fetch origin          # fetch all changes
git pull origin master    # pull changes from the origin remote, master branch and merge them into my_branch
git push origin my_branch # push my_branch
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #pull #remote #local
ADD COMMENT
Topic
Name
1+8 =