I\'d been working on something, and decided it was completely screwed...after having committed some of it. So I tried the following sequence:
git reset --har
What I do is I try to reset hard to HEAD. This will wipe out all the local commits:
git reset --hard HEAD^