Command Details

$ git reflog expire --expire=now --all

Remove old entries from the reflog.