node ninja
node ninja

Reputation: 33056

Why didn't I get all the files when I git cloned this directory?

I did

git clone https://github.com/niltsh/MPlayerX

And it seemed to be downloading everything. But when it finished I went into the folder, and I found a lot of things were missing.

Why didn't it get everything? Is it because those folders are from other projects?

Upvotes: 0

Views: 202

Answers (2)

grw
grw

Reputation: 1399

You can also do it in one step with:

$ git clone --recursive RepoURLHere

:)

Upvotes: 1

Q2Ftb3k
Q2Ftb3k

Reputation: 688

The submodules are missing because you didn't download them. The following commands should get them.

$ git submodule init
$ git submodule update

Upvotes: 5

Related Questions