I\'ve forked someone\'s project and made some commits. I filled out a pull request, and it wasn\'t accepted (either the change was not desirable, or the author rewrote the func
Back your master branch a few steps (assuming you want to skip three commits back) and rewrite your github repo by pushing with -f.
git reset --hard HEAD~3 git push -f origin master