0
ssh://ml-fey/usr/projects/data/nuclear/mc/type1
이 저장소는 서브 모듈을 가지고에있는 (내가 ml
로 참조 할 것) 자식 저장소있다. 이
[submodule "Appendix"]
path = Appendix
url = /usr/projects/data/nuclear/mc/type1/Appendix
내가 (내가 XL
로 참조 할 것) 새 저장소에 저장소를 복제 할 수 있습니다 것처럼 .gitmodules
파일 내가이 오류를 얻을 서브 모듈을 업데이트하려고하지만 때, 보이는
$ git submodule update
Cloning into 'Appendix'...
fatal: '/usr/projects/data/nuclear/mc/Appendix' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Clone of 'ssh://ml-fey/usr/projects/data/nuclear/mc/Appendix' into submodule path 'Appendix' failed
Appendix
하위 모듈을 검색 할 디렉터리가 최종 type1
디렉터리가 없음을 알 수 있습니다. 자식이 XL
에서 서브 모듈을 업데이트 할 수없는 이유는 ssh://ml-fey/usr/projects/data/nuclear/mc/Appendix
이 존재하지 않기 때문입니다. type1
은 어디로 갔습니까?
[submodule "Appendix"]
path = Appendix
url = /usr/projects/data/nuclear/mc/type1/Appendix
이것은 정확히 찾고 있습니다. .gitmodules의 중복은 혼란 스러웠습니다. 고맙습니다. –