zentaopms/module/git/config.php
2023-05-16 10:47:08 +08:00

17 lines
751 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* encodings: 提交日志的编码比如GBK可以用逗号连接起来的多个。
* client: Git客户端执行文件的路径windows下面是git.exe的路径linux下面比如/usr/bin/git
* repos可以是多个需要设定某一个库的访问路径。
*
* encodeings: the encoding of the commentcan be a list.
* client: the git client binary path. Unser windows, find the path of git.exe. Under linux, try /usr/bin/git
* Can set multi repos, ervery one should set the path.
*
* 例子:
* $config->git->client = '/usr/bin/git'; // c:\git\git.exe
* $config->git->repos['pms']['path'] = '/home/user/repo/pms'; // c:\repo\pms
* $config->git->repos['pms']['encoding'] = 'utf-8';
*
*/