Skip to contentSkip to conversation

How to connect remotely with Git machine

DISCUSSION stpl_nk 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore

stpl_nk

author
#0 lore raw

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 .

Signature · 2 lines
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.
#1 lore raw
Quoted 9 lines · stpl_nk <nkjha <at> systematixtechnocrates.com> writes:

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