See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
# undo last push | |
git push -f origin ab123c4:master | |
# undo last commit | |
git reset --hard HEAD~2 | |
# undo last push (7cdab32) | |
git push origin +7cdab32^:master | |
# show last commit changed files |