Delete GIT commits

Last updated on 06/05/2015

To remove pushed git commit:

git reset --hard HEAD~N

Where N is the number of commits to remove (prev).

Push changes to origin.

git push -f origin/master