2010-12-15 1 views
2

이맥스 및 vim 구성을 자체 저장소에 내보내고 서브 디렉토리로 슈퍼 리포지토리에 추가했습니다. 내가git clone을 할 때 내 자식 서브 마디가 모두 복제되지 않는 이유는 무엇입니까?

git clone --recursive 

가 superrepository을 복제 수행하려고하지만 때, 그것은 단지 내선/RSENSE 서브 모듈에 끌어와 다른 두를 무시합니다. 내가 도대체 ​​뭘 잘못하고있는 겁니까? 나는

Git will not init/sync/update new submodules

난 그냥 내 .gitmodules을 제거 나의 superrepository에 대한

[submodule "vim"] 
     path = vim 
     url = https://github.com:sid137/.vim.git 
[submodule ".emacs.d"] 
     path = .emacs.d 
     url = https://github.com:sid137/emacs.git 
[submodule "ext/rsense"] 
     path = ext/rsense 
     url = https://github.com/m2ym/rsense.git 

답변

0

비슷한 질문을 .gitmodules을 자식 1.7.0.4 여기

있어 사용

를 사용하여 수동으로 그들을 다시 추가하고
git submodule add repo local_path 

그리고 신비하게 근무한

관련 문제