Installation | Standalone | CQRS | Fluent Interface | Commands |
It's can simply be installed by composer.
$ composer require malukenho/psygit
Now you can use the repository manager and start interact with your Repository.
(PsyGit\RepositoryManager::fromDirectory('project-repository'))
->trackFile('changelog.txt')
->commit('Changelog updated automatically 8 A.M.')
->push('origin', 'master', \PsyGit\Command\Push::PUSH_FORCE);