I have a repo that’s forked from a remote repository. I made some changes, the remote repository updated and now I want to pull in all changes from the remote repository, and not care about anything in my local repository. Previously I’ve been deleting my local repository, then doing a simple fork and clone. There’s got to be a better way to do this. What’s the magic command?
Share
If I understand you correctly, you want to throw away commits on your local branch (if you’ve made any). If that’s the case, then you want: