namelesscoder / gizzle-git-plugins
用于运行 Git 操作的 Gizzle 插件
0.1.7
2015-03-14 18:37 UTC
Requires
- namelesscoder/gizzle: @stable
Requires (Dev)
- phpunit/phpunit: @stable
- satooshi/php-coveralls: @stable
README
插件,用于从 Gizzle GitHub Webhook 监听器 执行 Git 操作。
设置
以下 Settings.yml
文件显示了此集合中每个插件的所有可能设置以及示例值。**这些值不代表默认值 - 您必须使用对应 Git 命令的最小必需参数配置每个插件。
NamelessCoder\GizzleGitPlugins: NamelessCoder\GizzleGitPlugins\GizzlePlugins\ClonePlugin: enabled: true directory: localpath branch: master repository: url-or-remote-name single: true depth: 50 rebase: true NamelessCoder\GizzleGitPlugins\GizzlePlugins\PullPlugin: enabled: true directory: localpath repository: url-or-remote-name branch: master rebase: true depth: 1 NamelessCoder\GizzleGitPlugins\GizzlePlugins\ResetPlugin: enabled: true directory: localpath hard: true head: shortname-like-HEAD^1-or-sha1 NamelessCoder\GizzleGitPlugins\GizzlePlugins\PushPlugin: enabled: true repository: localpath branch: master checkout: true remote: originnameorurl head: remote branch name NamelessCoder\GizzleGitPlugins\GizzlePlugins\CommitPlugin: enabled: true repository: localpath branch: master checkout: true files: * add: true NamelessCoder\GizzleGitPlugins\GizzlePlugins\CheckoutPlugin: enabled: true repository: localpath branch: master