하위 디렉토리에 하위 모듈을 추가하려면 어떻게합니까? ~/.janus/하위 모듈이 많은 git repo 가 있습니다. 에 하위 모듈을 추가하고 ~/.janus/snipmate-snippets/snippets/싶지만 디렉토리 git submodule add 에서 실행할 때 snipmate-snippets다음 오류 메시지가 나타납니다. You need to run this command from the toplevel of the working tree. 그래서 질문은 : snipmate-snippets디렉토리에 서브 모듈을 어떻게 추가 합니까? 당신은 가서 ~/.janus실행 : git submodule add snipmate-snippets/snippets/ 서브 모듈 (또는 일반적으로 git)에 대한 ..