granam/git
最新稳定版本:2.1.1
Composer 安装命令:
composer require granam/git
包简介
Basic workflow with GIT
README 文档
README
For more sophisticated Git workflow, try for example sebastianfeldmann/git.
Current package can just
- get Git status
- get diff against origin master
- get last commit hash
- get patch versions from tags
- get all version-like branches
- clone a branch
- update a branch
- say if a remote branch exists
Usage
<?php $git = new \Granam\Git\Git(); $patchVersions = $git->getTagPatchVersions(__DIR__); print_r($patchVersions); // [1.0.0] $minorVersions = $git->getAllMinorVersionLikeBranches(__DIR__); print_r($minorVersions); // [1.0]
统计信息
- 总下载量: 600
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 8
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-01-15