检出仓库报错
xbmlz opened this issue · comments
想保持仓库更新,检出仓库的时候报错
E:\note>git clone https://github.com/Wasabi1234/Java-Interview-Tutorial.git
Cloning into 'Java-Interview-Tutorial'...
remote: Enumerating objects: 821, done.
remote: Counting objects: 100% (413/413), done.
remote: Compressing objects: 100% (401/401), done.
remote: Total 821 (delta 17), reused 294 (delta 10), pack-reused 408
Receiving objects: 100% (821/821), 3.09 MiB | 3.94 MiB/s, done.
Resolving deltas: 100% (109/109), done.
error: invalid path 'Git/Git工作:面试必知必会.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 :/'
仓库都是被我强制更新的,直接更新会有问题哈,建议直接 star 在线阅读!
不要再 fork,直接 star 即可