Answers for "git hard reset master to origin master"

11

git reset to origin/master

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

how to reset local master to origin master

git checkout -B master origin/master

//for branch
git checkout -B <branch> origin/<branch>
Posted by: Guest on November-09-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language