revert commit changes which were not intended to commit