# reset to specefic commit git reset --hard <commit id> # to go back one step git reset --hard HEAD~1 # note: use --soft to keep file changes
git reset --hard cedc856 git push --force origin master