Answer the question
In order to leave comments, you need to log in
How to do automatic git pull on the server?
Good afternoon,
can you tell me how to automate git pull on the server?
It would be desirable that at git push on a local computer changes on the server were automatically accepted. Guess who did it? How to set it up? Thank you.
Answer the question
In order to leave comments, you need to log in
You need to deploy a Continuous Integration system.
It's pretty easy and doesn't hurt at all :).
We, for example, use TeamCity .
Hook, for example, post-receive on the central repo, and in it the launch of a remote command via ssh.
if there is a server, then why not raise your remote git repository on it (for example, gitolite) and hang hooks on it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question