Knowledge Base
Authentication is disabled (development mode).

git remove latest commit

Edit

commit git last latest remove top

If not pushed yet:

git reset --soft HEAD^

If already pushed – creates a new commit with the specified commit being popped out:

git revert <commit-hash>