GitWrapper\GitWorkingCopy::rm PHP Method

rm() public method

Remove files from the working tree and from the index.
public rm ( string $filepattern, array $options = [] ) : GitWorkingCopy
$filepattern string Files to remove from version control. Fileglobs (e.g. *.c) can be given to add all matching files. Also a leading directory name (e.g. dir to add dir/file1 and dir/file2) can be given to add all files in the directory, recursively.
$options array (optional) An associative array of command line options.
return GitWorkingCopy
    public function rm($filepattern, array $options = array())
    {
        $args = array('rm', $filepattern, $options);
        return $this->run($args);
    }