reset and recommit

Signed-off-by: jianglu <jianglu188@gmail.com>