Cancel the change done by sync with HEAD.