How can I wipe out my local branch in GIT?

git

Solution

When on branch 'master', you can simply do

git reset --hard origin/master

Note that you would lose your local changes that way.

Problem

I dont' want to deal with any conflicts on my local master branch as the origin (remote) master has changed and I just want 100% of the remote's version. Is there a way to wipe out the local master? (other than just manually deleting and cloning again).

Original source