W
W
w1ndigo2014-02-21 17:26:00
git
w1ndigo, 2014-02-21 17:26:00

Creating a git post push: how?

There is a local git repository that is fasting on github, there is a copy of this repository on the server. Please tell me how can I set up some script or post push hook so that after my local push the script goes to the server and makes a git pool?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bak, 2014-02-21
@bak

webhook (look for it in the repository settings on github). Pulls the given url. On the server, listen to the port, as soon as the http request comes in, pull the script. You can do it on anything, even on bash and netcat.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question