Answers for "should i pull changes from local branch to master"

1

what command do you use to pull any changes from the master repository into your local repository?

git fetch <remote> <branch>
Posted by: Guest on September-07-2021
0

pull from master 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
Posted by: Guest on March-01-2022

Code answers related to "should i pull changes from local branch to master"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language