-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloning just the DIST-PHP folder instead of the whole project #157
Comments
With WET core, the dist is stored in a different repo. That's what that commands do. A dist repo doesn't exist for the php variant. |
Can a dist repo be created for the PHP variant? |
I don't know if this will help http://stackoverflow.com/questions/2425059/how-to-pull-specific-directory-with-git cd into the top of your repo copy
So if you clone the whole repo, then delete the demos-php directory. You should be able to use the above if all you want to do is grab the latest updates to the dist-php/ directory using
You'd still have to clone the entire repo thought the first time. |
Huh! I didn't know about that one! |
Hey @upsonp I think you should update this page : https://github.com/wet-boew/wet-boew-php/wiki/Variant-Setup-for-New-Developers-v4.0 Why because it doesn't make sens to upload to production your demo-php folder and also all the other file in theme-gcwu-fegc ... When i'm saying all the other file, I think about the 404, the servmessage... the demo folder and the docs folder. |
Thanks @crochefort, I'm just setting up a new PC so it might take me a git to get to it, but good suggestion. |
Perhaps there is a way to apply this to submodules as well |
Thanks @upsonp ! |
With the WET-BOEW project, I am able to clone just its "dist" folder and everything under it using the following command:
Is there a way to clone just the "dist-php" folder for the WET-BOEW-PHP project? I tried the following but it didn't work:
Best regards,
Michael
The text was updated successfully, but these errors were encountered: