added how to discard commits