Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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
share|improve this question
    
What exactly do you mean by "run these submodules"? –  joschi May 29 '10 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 –  DADU May 30 '10 at 10:52
1  
They don't say to "run the submodules"; they say to "run this to pull in the submodules" –  Evan Broder Jul 6 '10 at 2:39

1 Answer 1

up vote 5 down vote accepted

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

share|improve this answer
    
+1 on the 'git submodule update --init --recursive' - that's probably what is meant when they say "run". –  Ryan Montgomery Jul 6 '10 at 2:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.