git.exe를 사용하여 Windows 7 컴퓨터에서 저장소를 체크 아웃하려고합니다.
C:/tmp>git --version
git version 2.12.0.windows.1
C:/tmp>git clone https://[email protected]/somcomp/someproj.git
Cloning into 'somproj'...
remote: Counting objects: 11762, done.
remote: Compressing objects: 100% (7028/7028), done.
Receiving objects: 100% (11762/11762), 48.36 MiB | 1.30 MiB/s, done.
remote: Total 11762 (delta 5706), reused 10135 (delta 4230)
Resolving deltas: 100% (5706/5706), done.
fatal: cannot create directory at 'someproj/node_modules/console-stamp/node_modules/dateformat/node_modules/meow/node_modules/normalize-package-data/node_modules/validate-npm-package-license/node_modules/spdx-correct/node_modules': No such file or directory
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
C:\tmp>git status
fatal: Not a git repository (or any of the parent directories): .git
여기서 무엇을 할 수 있습니까? git config --system core.longpaths 진정한 조언을 시도했지만 도움이되지 않습니다. 다른 요리법은 없나요? 실패한 폴더는 bitbucket에서 살펴보고 하위 폴더가 하나만 있으면 추악한 문자를 포함하지 않는 것 같습니다.
node_modules / console-stamp / node_modules / dateformat / node_modules / meow / node_modules / normalize-package-data / node_modules / validate-npm-package-license / node_modules / spdx-correct / node_modules / spdx-license-ids /
어떤 아이디어라도 고맙습니다.
이 버그는 최근에야 수정 되었으므로 git 버전 2.12.2.windows.2로 업그레이드 하면 문제가 해결되었습니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다