Programming > git > Flashcards
To remove a commit done locally
git reset –soft HEAD^
To remove a commit you have already pushed
git revert