Answers for "how to pull remote and replace local branch git"

12

git replace local branch with remote

git reset --hard origin/master
Posted by: Guest on November-22-2019
1

git pull a new branch froma remote repo

git checkout --track origin/daves_branch
Posted by: Guest on May-30-2020

Code answers related to "how to pull remote and replace local branch git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language