4
이 질문은 this thread을 기반으로합니다. 내가`서브 모듈을 사용할 수 없습니다. foreach git pull`
를~
|-- [drwxr-xr-x] bin // this is the folder which I make a submodule
// it is also a folder where I have a Git to push my submodule's files
| -- fileA
` -- folderA
...
내가
git submodule init # I get no output from these commands
git submodule update
를 실행 실행
내 .gitmodules
는 이[submodule "bin"]
path = bin
url = git://github.com/masi/bin.git
내 집에서 내 폴더 -structure을 내 집에
git submodule foreach git pull
나는 버그가 path = /Users/Masi/bin
에 path = bin
을 변경하는 것이었다 해결하기 위해
Entering 'bin'
fatal: Where do you want to fetch from today?
Stopping at 'bin'; script returned non-zero status.
나의 첫번째 가정을 얻는다. 그러나 이것은 문제를 해결하지 못합니다.
어떻게 내 자식의 하위 모듈 인 외부 저장소에서 콘텐츠를 업로드 할 수 있습니까?
bin 서브 모듈의 .git/config는 어떤 모양입니까? –
@Charles : 내 .git/config는 http://stackoverflow.com/questions/1155095/unable-to-git-submodule-foreach-git-pull/1155850#1155850 –
입니다. bin 하위 모듈이 재귀적인 것처럼 보입니까? ? –