updated-packages

This commit is contained in:
RafficMohammed
2023-01-08 00:13:22 +05:30
parent 3ff7df7487
commit da241bacb6
12659 changed files with 563377 additions and 510538 deletions

16
vendor/gitonomy/gitlib/doc/branch.md vendored Normal file
View File

@@ -0,0 +1,16 @@
Branch
======
To access a *Branch*, starting from a repository object:
```php
$repository = new Gitonomy\Git\Repository('/path/to/repository');
$branch = $repository->getReferences()->getBranch('master');
```
You can check is the branch is a local or remote one:
```php
$branch->isLocal();
$branch->isRemote();
```