Невозможно `подмодуль git foreach git pull`
Этот вопрос основан наэта тема.
My .gitmodules is at my Home
[submodule "bin"]
path = bin
url = git://github.com/masi/bin.git
My folder -structure at my Home:
~
|-- [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
я бегу
git submodule foreach git pull
я получил
Entering 'bin'
fatal: Where do you want to fetch from today?
Stopping at 'bin'; script returned non-zero status.
Мое первое предположение, чтобы исправить ошибку, было изменитьpath = bin
вpath = /Users/Masi/bin
, Однако это не решает проблему.
How can you upload the content from the external repository which is a submodule in my Git?