malukenho / psygit
dev-master
2016-02-01 19:54 UTC
Requires
- php: ~7.0
- symfony/process: ^3.0
Requires (Dev)
- phpunit/phpunit: ^5.1
This package is auto-updated.
Last update: 2024-09-20 23:18:50 UTC
README
安装
可以使用composer简单地安装。
$ composer require malukenho/psygit
现在您可以使用仓库管理器并开始与您的仓库交互。
(PsyGit\RepositoryManager::fromDirectory('project-repository')) ->trackFile('changelog.txt') ->commit('Changelog updated automatically 8 A.M.') ->push('origin', 'master', \PsyGit\Command\Push::PUSH_FORCE);