Question : pull from master to local
Answered by : unsightly-unicorn-19ezqxao7zsb
git pull origin master:master
Source : https://stackoverflow.com/questions/16560095/git-pull-origin-master-branch-to-local-master-when-in-local-develop | Last Update : Fri, 18 Dec 20
Question : pull from master to local
Answered by : moses-muigai
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 : https://stackoverflow.com/questions/40258741/how-to-get-changes-from-master-branch-to-local-branch | Last Update : Tue, 08 Mar 22
Question : pull master into branch
Answered by : gashigb
git checkout dmgr2 # gets you "on branch dmgr2"
git fetch origin # gets you up to date with origin
git merge origin/master
Source : https://stackoverflow.com/questions/20101994/git-pull-from-master-into-the-development-branch | Last Update : Thu, 06 Aug 20