Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git pull? #163

Closed
cnizzardini opened this issue Jan 11, 2020 · 1 comment
Closed

git pull? #163

cnizzardini opened this issue Jan 11, 2020 · 1 comment

Comments

@cnizzardini
Copy link

@cnizzardini cnizzardini commented Jan 11, 2020

How do I perform a git pull with gitlib?

@GrahamCampbell

This comment has been minimized.

Copy link
Member

@GrahamCampbell GrahamCampbell commented Jan 11, 2020

Please see the example on the readme. https://github.com/gitonomy/gitlib#example-usage.

<?php

use Gitonomy\Git\Repository;

$repository = new Repository('/path/to/repository');

$repository->run('pull');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.