$ git reset --hard HEAD~1

HEAD is now at 90f8bb1 Second commit