아마도 매우 어리석은 질문입니다.하지만 지금까지는 .gitmodules 파일에서 서브 모듈을 지정했습니다. 최근에 내가 작업 디렉토리에 관계없는 파일을 보관할 필요가 없도록 동일한 이유로 .git/config를 사용하는 것이 가능하다는 것을 알게되었습니다..gitmodules과 .git/config의 하위 모듈을 지정하는 데 차이가 있습니까?
.git/구성 :
[submodule "path/to/repo"]
url = [email protected]:username/repo.git
.gitmodules
[submodule "path/to/repo"]
path = path/to/repo
url = [email protected]:username/repo.git
이이 같은 일이 기본적 있습니까?
.git/config 및 .gitmodules에 다른 repos가 지정되어있는 경우에는 무엇을 우선합니까? – Stann