N
N
nuclear_kote2018-10-01 14:16:22
git
nuclear_kote, 2018-10-01 14:16:22

Why doesn't git clone submodules?

Added a submodule with the command git submodule add [email protected]:grp/example_module.git
appeared in the .gitmodules file

[submodule "example_module"]
  path = example_module
  url = [email protected]:grp/example_module.git

pushed .gitmodules. I try to redownload the project with the command git clone [email protected]:grp/parent.git --recurse-submodules. example_module module not getting checked out
git submodule update --init doesn't work either

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Shumkin, 2018-10-16
@ashumkin

little to add to .gitmodules
you need to add to the file tree .. this doesgit submodule add

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question