How do I reset my local branch to be just like the branch on the remote repository?
I did:
git reset --hard HEAD
But when I run a <
Only 3 commands will make it work
git fetch origin git reset --hard origin/HEAD git clean -f