We are planning to implement Git. We are using an instance having apache2 web server.
We have created the client’s directories like this:
For Customer 1. /var/www/client1/public_html
For Customer 2. /var/www/client2/public_html
For Customer 3. /var/www/client3/public_html and so on…
We have then created the vhosts file for each client to make sure to keep them to their specific folders.
The major problem that we are facing currently is how to apply the platform updates to the subfolders of all my clients.
Can I use git somehow to achieve this requirement? I can use git pull to pull the data from git to the repo folder on the server but how to apply the changes to the client directories?