tomchristie/django-rest-framework — comment on commit 6e6dc21376e781813e4faea7264d661c2e6d67f3
File:  line 0
By markotibold:

Ok, this was a bit scary, but it did the trick: git reset --hard HEAD~1