git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: How to connect remotely with Git machine

From
EREric Raible <raible@gmail.com>
Date
Jun 8, 2009, 15:25 UTC
Message-ID
<loom.20090608T151053-794@post.gmane.org>
In-Reply-To
<23920805.post@talk.nabble.com>
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
Previous: stpl_nk
Message 2 of 2 in “How to connect remotely with Git machine”
  1. stpl_nkJun 8, 2009
  2. Eric RaibleJun 8, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.