I've completely messed up the master branch of my forked git repo.
I want to completely reset the master branch that was pushed to my fork with the contents of the upstream master repo. I have no interest in retaining any master branch changes or history.
The simplest approach would have been to delete my forked repo and refork from the upstream project. However, I have work in other pushed branches that I don't want to lose.
Thus how to I reset my pushed master branch with the upstream master?
git clone https://myrepo.git
cd myrepo
git remote add upstream https://upstream.git
git fetch upstream
Where do I go from here to reset my local and remote master branches with the upstream master?