83374
开源版本的git使用
回帖数 3
阅读数 1533
发表时间 2014-07-02 09:20:28
在windows平台上如果使用msysgit,module.php中的cd $this->repoRoot; $this->client 需要改为$cmd = "$this->client -C $this->repoRoot,否则执行同步时会出出错。
例如:
if($fromRevision)
{
$cmd = "cd $this->repoRoot; $this->client log --stat $fromRevision..HEAD --pretty=format:%an*_*%cd*_*%H*_*%s";
}
改为:
if($fromRevision)
{
$cmd = "$this->client -C $this->repoRoot log --stat $fromRevision..HEAD --pretty=format:%an*_*%cd*_*%H*_*%s";
}
联系我们
联系人
刘斌/高级客户经理
电话(微信)
17685869372
QQ号码
526288068
联系邮箱
liubin@chandao.com

相关帖子
李 | 最后回帖 2024-06-12 13:44 于涛
邂逅之舟 | 最后回帖 2018-10-30 14:03 石洋洋
laughing wen | 最后回帖 2023-09-26 14:45 禅道 - 闫敏
先知 | 最后回帖 2017-01-11 15:15 肖雯
薛才杰 | 最后回帖 2019-11-21 13:23 石洋洋
范杰 | 最后回帖 2020-03-17 08:20 禅道-李锡碧



精品资料包
1V1产品演示
免费试用增强功能
专属顾问答疑支持


