dev@sourceCode:/var/www/zentaopms/bin$ sudo ./syncgit.sh
2014-09-17 14:10:05 begin repo 1
2014-09-17 14:10:05 start from revision bdd454655cbc87dee36bc3e4cce39f1a7eee821c
fatal: ambiguous argument 'bdd454655cbc87dee36bc3e4cce39f1a7eee821c..HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Some error occers:
The command is cd /home/git/dragon/art; /usr/bin/git log --stat bdd454655cbc87dee36bc3e4cce39f1a7eee821c..HEAD --pretty=format:%an*_*%cd*_*%H*_*%s
00:00:01 iconv(): Wrong charset, conversion from `task#3在家用linux更改test文件' to `utf-8' is not allowed in /var/www/zentaopms/m
odule/git/model.php on line 358 when visiting m=git&f=run
运行命令:
[root@AY13040211491516738f bin]# ./syncgit.sh
2014-08-11 23:28:45 begin repo 1
2014-08-11 23:28:45 start from revision 0
sh: line 0: cd: git@git.oschina.net:xxxx/gateway.git: 没有那个文件或目录
fatal: Not a git repository (or any parent up to mount point /data)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Some error occers:
The command is cd git@git.oschina.net:xxxx/gateway.git; /usr/local/bin/git log --stat --pretty=format:%an*_*%cd*_*%H*_*%s
一个库就是对应的一个项目吗?
-----------------------------------------------------------------------------------------------
$config->git = new stdClass();
$config->git->encodings = 'utf-8, gbk';
$config->git->client = 'C:\GitStack\git\bin\git.exe';
$i = 1;
$config->git->repos[$i]['path'] = 'C:\GitStack\repositories\iOS_xxk.git';
------------------------------------------------------------------------------------------------
运行CMD 执行syncgit.bat 报错,提示我文件名、目录名或卷标语法不正确。
E:\xampp\zentao\bin>E:\xampp\php\php.exe E:\xampp\zentao\bin\ztcli "http://192.1
68.2.254:81/git-run"
2015-07-07 12:00:20 begin repo 1
2015-07-07 12:00:20 start from revision 0
文件名、目录名或卷标语法不正确。
Some error occers:
The command is cd H:\SourceCode\Nactalia_ADRP; C:\Program Files (x86)\Git\bin\gi
t.exe log --stat --pretty=format:%an*_*%cd*_*%H*_*%s
执行脚本出错
dev@sourceCode:/var/www/zentaopms/bin$ sudo ./syncgit.sh
2014-09-17 14:10:05 begin repo 1
2014-09-17 14:10:05 start from revision bdd454655cbc87dee36bc3e4cce39f1a7eee821c
fatal: ambiguous argument 'bdd454655cbc87dee36bc3e4cce39f1a7eee821c..HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Some error occers:
The command is cd /home/git/dragon/art; /usr/bin/git log --stat bdd454655cbc87dee36bc3e4cce39f1a7eee821c..HEAD --pretty=format:%an*_*%cd*_*%H*_*%s
$config->git = new stdClass();
$config->git->encodings = 'utf-8, gbk';
$config->git->client = '/usr/local/bin/git';
$i = 1;
$config->git->repos[$i]['path'] = 'git@git.oschina.net:xxxxx/gateway.git';
运行命令:
[root@AY13040211491516738f bin]# ./syncgit.sh
2014-08-11 23:28:45 begin repo 1
2014-08-11 23:28:45 start from revision 0
sh: line 0: cd: git@git.oschina.net:xxxx/gateway.git: 没有那个文件或目录
fatal: Not a git repository (or any parent up to mount point /data)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Some error occers:
The command is cd git@git.oschina.net:xxxx/gateway.git; /usr/local/bin/git log --stat --pretty=format:%an*_*%cd*_*%H*_*%s