Instantly share code, notes, and snippets.
not yet pushed
git reset --hard HEAD^
already pushed...
git revert [commit_hash]