83374
开源版本的git使用
回帖数 3
阅读数 1627
发表时间 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

相关帖子
萬水千山 | 最后回帖 2018-12-27 16:02 张启峰
dongs | 最后回帖 2018-06-22 09:45 扮猪吃老虎
任敏 | 最后回帖 2019-07-15 13:13 石洋洋
glw | 最后回帖 2024-11-28 11:10 王林
范杰 | 最后回帖 2020-03-17 08:20 禅道-李锡碧
Leo | 最后回帖 2021-06-30 10:03 张玉洁



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


