"git submodule" comes back empty -


i use following sequence initialize , update git submodules:

git init git submodule init git submodule update 

then want see submodules, command:

git submodule 

it prints out nothing unfortunately.

my .gitmodules file in same directory , contains known working submodule definitions.

please note called git init first command. if didn't that, git submodule init complain there no valid git repository.

why git submodule not print anything?

from comments:

unless you've done git clone or git submodule add, you've not added submodules. presence of .gitmodules isn't enough - check in .git/config see if there lines [submodule foo]. if there's not, dont have submodules in repo, git submodule working should.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -