how can i publish with push to git server with subprojects

53 Views Asked by At

screenshot

I uploaded a yii website through git by pushing to ssh openShift server. i had downloaded plugs with composer. now all the plugs are being considered as subprojects, that means source code of these plugs ain't uploaded. how can i stop the subproject feature

1

There are 1 best solutions below

0
João Gonçalves On BEST ANSWER

You should remove the submodules, see How do I remove a submodule?

After that, you can add stuff to your .gitignore file, so that you don't accidentally add the files back:

file.php
dir/