public function add($files = '.')
    {
        if (is_array($files)) {
            $files = implode(' ', array_map('escapeshellarg', $files));
        } else {
            $files = escapeshellarg($files);
        }

        $this->getClient()->run($this, "add $files");

        return $this;
    }
public function add($files = '.')
    {
        if (is_array($files)) {
            $files = implode(' ', array_map('escapeshellarg', $files));
        } else {
            $files = escapeshellarg($files);
        }

        $this->getClient()->run($this, "add $files");

        return $this;
    }
public function add ( $ files = '.' ) { if ( is_array ( $ files ) ) { $ files = implode ( ' ' , array_map ( 'escapeshellarg' , $ files ) ) ; } else { $ files = escapeshellarg ( $ files ) ; } $ this -> getClient ( ) -> run ( $ this , "add $files" ) ; return $ this ; }
Add untracked files.

@param mixed $files Files to be added to the repository
Add untracked files .