public function installViaSubtree()
    {
        return new Process(sprintf(
            'cd %s && git remote add %s %s && git subtree add --prefix=%s --squash %s %s',
            base_path(),
            $this->getComponentName(),
            $this->getRepoUrl(),
            $this->getDestinationPath(),
            $this->getComponentName(),
            $this->getBranch()
        ));
    }
public function installViaSubtree()
    {
        return new Process(sprintf(
            'cd %s && git remote add %s %s && git subtree add --prefix=%s --squash %s %s',
            base_path(),
            $this->getComponentName(),
            $this->getRepoUrl(),
            $this->getDestinationPath(),
            $this->getComponentName(),
            $this->getBranch()
        ));
    }
public function installViaSubtree ( ) { return new Process ( sprintf ( 'cd %s && git remote add %s %s && git subtree add --prefix=%s --squash %s %s' , base_path ( ) , $ this -> getComponentName ( ) , $ this -> getRepoUrl ( ) , $ this -> getDestinationPath ( ) , $ this -> getComponentName ( ) , $ this -> getBranch ( ) ) ) ; }
Install the component via git subtree.

@return \Symfony\Component\Process\Process
Install the component via git subtree .