h5p / h5p-wordpress-plugin

Adds support for H5P Content in WordPress.
https://wordpress.org/plugins/h5p/
70 stars 75 forks source link

Cannot clone some folders in this repo #85

Closed rezeau closed 5 years ago

rezeau commented 5 years ago

Trying to fork then clone this repo to my local machine. Currently, those folders with the @ character in their name are empty when cloned! That's h5p-editor-php-library and h5p-php-library.

otacke commented 5 years ago

That's because those are separate repositories used by all plugins. They are referenced as what's called submodules for git.

You simply need to clone using the --recursive or --recurse-submodules option (depending on the git version) or to use the git submodule command with appropriate parameters if the repo has already been cloned.

rezeau commented 5 years ago

Thanks for the super-fast reply! Using TortoiseGit here, so I checked the Recursive check-box and it worked.