// display git commit log$ git log --pretty=oneline --abbrev-commit
// show last two commit and open in your default editor// then delete second commit line and save it$ git rebase -i HEAD~2
$ git rebase -i HEAD~98
# Delete everything except for the most recent commit on the shown editor caused by "rebase"
$ git push origin -f production-static