M
M
Mikha Pankratov2015-06-07 12:03:00
git
Mikha Pankratov, 2015-06-07 12:03:00

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

3 answer(s)
A
Alexey Ukolov, 2015-06-07
@frmax

You need to deploy a Continuous Integration system.
It's pretty easy and doesn't hurt at all :).
We, for example, use TeamCity .

K
kompi, 2015-06-07
@kompi

Hook, for example, post-receive on the central repo, and in it the launch of a remote command via ssh.

D
Dmitry Vapelnik, 2015-06-11
@dvapelnik

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 question

Ask a Question

731 491 924 answers to any question