Reputation: 4959
i have modules
folders in my Laravel Project.
and my sub packages/projects in there
my Laravel parent project use them to working
modules folder gitignored by his main project.
those projects in modules folders connect to its own git repos.
those projects have seeds
and factories
folder need when i run composer install in the parent.
but seeds
and factories
are empty and not sync with git and when other developers fetch/clone the repos the parent project need them.
how can i add files as Laravel documentation there to avoide this action.
is it true to create a text file there?
Upvotes: 0
Views: 181
Reputation: 1822
Git doesn't commit empty folders. Usual solution is to add .gitkeep as empty text file.
Upvotes: 2