Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 are a team of three, all working on our local machines on the same internal network.

We will all be working on websites in local working copies of the same Git repo hosted on Github.

We have an internal staging machine here (dev.internal), and I am looking for a way for us to be able to push to this machine. At each milestone in the development cycle.

In essence, all I really want us to be able to do is add the dev.internal machine as a remote, and push to this whenever we are ready.

Could somebody please point me in the right direction to get this set up?

share|improve this question
git add remote devinternal <remoteurl>
git push devinternal master:master
share|improve this answer
Hi, thanks, so should <remoteurl> be the file path? Eg: /Volumes/username/Sites/testdomain.internal ? – Dashman Jul 4 '12 at 13:32
<remoteurl> should be whatever URL is required to access the central git repository. – womble Jul 4 '12 at 13:47
OK, great. Thanks for your help. – Dashman Jul 4 '12 at 15:42

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.