src/Rocketeer/Strategies/CreateRelease/CloneStrategy.php
public function update($reset = true)
    {
        $this->explainer->info('Pulling changes');
        $tasks = [$this->vcs->update()];

        // Reset if requested
        if ($reset) {
            array_unshift($tasks, $this->vcs->reset());
        }

        return $this->bash->runForCurrentRelease($tasks);
    }
public function update($reset = true)
    {
        $this->explainer->info('Pulling changes');
        $tasks = [$this->vcs->update()];

        // Reset if requested
        if ($reset) {
            array_unshift($tasks, $this->vcs->reset());
        }

        return $this->bash->runForCurrentRelease($tasks);
    }
public function update ( $ reset = true ) { $ this -> explainer -> info ( 'Pulling changes' ) ; $ tasks = [ $ this -> vcs -> update ( ) ] ; // Reset if requested if ( $ reset ) { array_unshift ( $ tasks , $ this -> vcs -> reset ( ) ) ; } return $ this -> bash -> runForCurrentRelease ( $ tasks ) ; }
Update the latest version of the application.

@param bool $reset

@return string
Update the latest version of the application .