It depends. If you have SSH and Composer on the live server, then you can add the code base to .gitignore, except for your custom code, and then just push composer json and lock files, and do a "composer install --no-dev" on production. This would actually be a much better approach.
@@oleksiyraiu7190 I should have watched the whole video before commenting, sorry. However, I'm new to git and setting it up, especially combined with Drupal so the recommended total workflow is somewhat unclear to me. Thank you for replying.
So the workflow is update locally and transfer codebase using FTP to live server? Composer is never executed on a live server?
It depends. If you have SSH and Composer on the live server, then you can add the code base to .gitignore, except for your custom code, and then just push composer json and lock files, and do a "composer install --no-dev" on production. This would actually be a much better approach.
@@oleksiyraiu7190 I should have watched the whole video before commenting, sorry. However, I'm new to git and setting it up, especially combined with Drupal so the recommended total workflow is somewhat unclear to me. Thank you for replying.
@@alaididnalid7660 No problem. It's not hard once you get used to the process.
Very slow..
in youtube you can fast the speed in the configuration, i did it to 1.25