error:
Password:
remote: Counting objects: 3622, done.
remote: Compressing objects: 100% (2017/2017), done.
remote: Total 3622 (delta 1466), reused 3549 (delta 1429)
Receiving objects: 100% (3622/3622), 181.19 MiB | 10.96 MiB/s, done.
Resolving deltas: 100% (1466/1466), done.
error: invalid path 'server/log/gunicorn_supervisor.'
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 :/'
error: invalid path 'server/log/gunicorn_supervisor.'
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 :/'
method .1(invalid)
this was due to long file names and doing a simple config as below resolved it
git config --system core.longpaths true
method.2
有文件使用了window的保留字(invalid)
git config --no-global core.protectNTFS false
make difference
git config --global core.protectNTFS false