title: How to automate pull from all clones when I push from one?
body: <p>I have an application that has been initialized on multiple servers as an instance. For example - one in Australia, one in North America, one in Europe etc...</p>
  <p>My current deployment process is to SSH into each of the servers, run git pull to pull the latest changes and run my build script for that instance which basically re-builds the entire environment on the server to ensure all the updates are applied.</p>
  <p>I want to have a file called <code>constants.txt</code> for example which stores constant information about that specific server and calls the build script with those specific constants whenever it detects a push on the master branch.</p>
  <p>So basically 2 steps:</p>
  <ol>
  <li>Detect push to master and sync up by running git pull from all instances</li>
  <li>After successful pull, run build script with constants found in the <code>constants.txt</code> file in the home directory of the server</li>
  </ol>