Answers for "how to reset git master branch by remote"

3

how to reset git master branch by remote

git fetch origin
git reset --hard origin/master
Posted by: Guest on April-14-2020
2

git reset origin branch

git checkout mybranch
git reset --hard origin/mybranch
Posted by: Guest on April-15-2021

Code answers related to "how to reset git master branch by remote"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language