reset back to previous commit