threads / discuss / 19742

How to connect remotely with Git machine

Subject: How to connect remotely with Git machine

## tl;dr

2 messages between Jun 8, 2009 and Jun 8, 2009.

replies: 1people: 2as markdown or json

stpl_nk· Jun 8, 2009, 09:30 UTC · lore

Hello all , I am new in using Git . I have a small network , all the machine in LAN . I install Git in my windows machine (Windows XP sp2) in a central location . Now how to connect other hosts to central windows machine with the help of Git .

Thanks .
-- 
View this message in context: http://www.nabble.com/How-to-connect-remotely-with-Git-machine-tp23920805p23920805.html
Sent from the git mailing list archive at Nabble.com.
Eric Raible· Jun 8, 2009, 15:25 UTC · re: stpl_nk · lore

Re: How to connect remotely with Git machine

stpl_nk <nkjha <at> systematixtechnocrates.com> writes:
Show 9 quoted lines
> 
> 
> Hello all ,
> I am new in using Git . I have a small network , all the machine in LAN . I
> install Git in my windows machine (Windows XP sp2) in a central location .
> Now how to connect other hosts to central windows machine with the help of
> Git .
> 
> Thanks .

We have a similar situation at $dayjob. Each developer who is ot use git installs it locally. Each developer has their own local repo. The shared (bare) repo is on a network drive, and that drive is mapped:

c:> net use g: \\server1\Engineering
Then individual developers can clone do something like this from bash:
$ git clone file://g:/path/to/repo/on/G

The only real hitch is that (in the largest single fustercluck or all time) windows likes using backslash as a path separator.

But mapping the network drive to a drive letter allows you to avoid almost all of the pain.

- Eric

← back to recent threads