83374
开源版本的git使用
回帖数 3
阅读数 1584
发表时间 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";
}
联系我们
联系人
张淑钧/高级客户经理
电话(微信)
13156280939
QQ号码
2082428410
联系邮箱
zhangshujun@chandao.com

相关帖子
S-3379856978 | 最后回帖 2016-10-12 11:50 S-3379856978
鸿飞踏雁 | 最后回帖 2019-07-30 14:54 石洋洋
分享是一种力量 | 最后回帖 2017-12-22 09:16 石洋洋
烙印 | 最后回帖 2017-09-25 09:14 石洋洋
石红霞 | 最后回帖 2019-03-11 16:29 禅道-李锡碧
¥∞¥ | 最后回帖 2023-06-14 14:50 马超





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


