public function reset($file)
    {
        if (is_file($file)) {
            $cmd = 'cd %s && git checkout HEAD -- %s';
            $this->systemLog(sprintf($cmd, $this->projectPath, $file));
        }
    }