Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anuxs opened this issue Mar 13, 2023 · 1 comment

Comments

@anuxs
Copy link

anuxs commented Mar 13, 2023

克隆策略库到本地的时候:
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
错误一模一样。

@fmzquant
Copy link
Owner

已经update修正 可以再试一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants