0

How can I run these submodules? The only thing i can find on the web is information on how to create submodules. But i just need to run them. Is this really so difficult?

After you have clone the repository, you'll need to run the following to pull in all the submodules:

git submodule init git submodule update cd externals/curlcall git submodule init git submodule update 
3
  • What exactly do you mean by "run these submodules"? Commented May 29, 2010 at 7:27
  • Well, if i knew the answer, i wouldn't be asking this question. Here is the readme on Github where they say you must run the submodules: github.com/NeilCrosby/wikislurp/blob/master/README.Markdown Commented May 30, 2010 at 10:52
  • 1
    They don't say to "run the submodules"; they say to "run this to pull in the submodules" Commented Jul 6, 2010 at 2:39

1 Answer 1

5

Git submodules are vaguely like externals in subversion - they're references to external git repositories.

What the instructions in wikislurp are saying is that, in order to use the software, you need to not only clone the repository itself, but also clone the repositories that are referred to by the submodules.

The thing you quoted from the README,

git submodule init git submodule update cd externals/curlcall git submodule init git submodule update 

are a series of commands to run in order to fetch the repositories referred to by the submodules, which are probably needed for building the software or whatever. Just run them at the same command line prompt you used to clone the repository.

Alternatively, if you have a new enough version of Git, you can abbreviate all of those commands to just git submodule update --init --recursive

1
  • +1 on the 'git submodule update --init --recursive' - that's probably what is meant when they say "run". Commented Jul 6, 2010 at 2:59

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.