reset to working commit