Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a "central" git repo containing all sorts of conf files.

We have 5 servers that have the repo cloned.

I've cloned the repo on my local machine.

I want to be able to make changes locally, push to the central repo and then have it automatically push down to the repos on the servers.

Iow, make a change locally, commit, push and the change is visible everywhere else. Any ideas?

share|improve this question

You can configure the execution of a script that connect to every server and issue a git pull on the post-update hook in the central repository.

Or you can simply use cron to do a git pull every 15 minutes on all the servers.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.