I have a branch checked out
Someone rebased it
because history has been rewritten for that branch, I want "get the code that is in the remote to overwrite my local branch". AKA a hard reset.
How do I do this?
I want to know what I need to do in source tree that will result in the same thing as:
a) delete the branch locally
b) freshly checkout the branch locally
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.