Knp\Bundle\KnpBundlesBundle\Git\Repo::update PHP Method

update() public method

public update ( )
    public function update()
    {
        $this->getGitRepo()->git('fetch origin');
        $this->getGitRepo()->git('reset --hard origin/HEAD');
    }