0

I have installing Sendinblue api with following this link SendinBlue's API v3 Php Library on my local, and I made some modification on this api. I can see that I have a submodule on this api.

When I push it to my repository on gitLab, the submodule is archived and I can't see the content of this folder: vendor/sendinblue/api-v3-sdk.

This is the api Architecture :

api Architecture

And this what I see in gitlab:

Git lab

$ ls -la display display this: enter image description here

Malki Mohamed
  • 1,578
  • 2
  • 23
  • 40
  • 1
    This is how submodules work. They are just a pointer, not the actual contents of the repository. There's no "archive"; this is just how GitLab displays a submodule. – Thomas Jun 19 '18 at 15:06
  • but when my colleague clone this project, this folder is empty on local – Malki Mohamed Jun 19 '18 at 15:08
  • 1
    Your colleague needs to initialize their Git submodules after cloning. https://git-scm.com/book/en/v2/Git-Tools-Submodules#_cloning_submodules – Thomas Jun 19 '18 at 15:10
  • I follow your link but when I use this command `$ls -la ` I can't see .gitmodules – Malki Mohamed Jun 19 '18 at 15:52
  • You have to show us your repository or at least the commands you've used to add the submodule. Did you add and commit file `.gitmodules`? – phd Jun 19 '18 at 16:48
  • I update my question to show you the result of `ls -la`command – Malki Mohamed Jun 20 '18 at 07:13

0 Answers0