recover to the last commit