strategies icon indicating copy to clipboard operation
strategies copied to clipboard

error: invalid path '?Python版多品种追涨杀跌策略(教学).md'

Open anuxs opened this issue 2 years ago • 1 comments

克隆策略库到本地的时候: git clone https://github.com/fmzquant/strategies.git

报错: Cloning into 'strategies'... remote: Enumerating objects: 2669, done. remote: Counting objects: 100% (215/215), done. remote: Compressing objects: 100% (206/206), done. remote: Total 2669 (delta 12), reused 171 (delta 9), pack-reused 2454 Receiving objects: 100% (2669/2669), 3.11 MiB | 1.63 MiB/s, done. Resolving deltas: 100% (1434/1434), done. error: invalid path '?Python版多品种追涨杀跌策略(教学).md' fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/'

这个问题是文件名非法导致的。Python版多品种追涨杀跌策略(教学).md 这个文件名前面多了非空字符串。在windows平台命令行不行。 这个问题是从BotVS带过来的,他们的这个文件名也是有问题的。 git clone https://github.com/ifzz/botvs.git 错误一模一样。

anuxs avatar Mar 13 '23 02:03 anuxs

已经update修正 可以再试一下

fmzquant avatar Apr 18 '23 15:04 fmzquant