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

@param string $file
Cancel changes made on a file