2
I have a system that is used by several clients and each has its own server, most of them linux.
I would like to update the files via git automatically, can anyone tell me if it’s possible? I searched the internet but found no content easy explanation.
You want to force a
git pull
on the clients' servers, that’s it?– Rodrigo Rigotti
I would also like to know how to do this, because I have a client server with his site and I was wondering if it is possible to link the site to a git repository...
– RFL
Since you didn’t specify what you searched for, start looking for deployment strategies with git, and git triggers, especially post-update. Because it is something very broad, explain better what you want: location of the central repository, client servers, everything is on the same network or in separate networks, etc.
– gmsantos
Using git on production servers is not a good practice, it is best to implement a deployment process. Reference: http://www.jamiembrown.com/blog/one-in-every-600-websites-has-git-exposed/
– egomesbrandao
This should help you: http://blog.thiagobelem.net/automating-a-installcao-deploy-updated_sites-com-git
– Murillo Goulart