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

Re: git-daemon on Windows?

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 11, 2008, 13:27 UTC
Message-ID
<m38wxcrtjr.fsf@localhost.localdomain>
In-Reply-To
<63c5d3820806110551y69e895eeg4fde4bfdaf22bbf2@mail.gmail.com>
"Chris Hoffman" <chris.c.hoffman@gmail.com> writes:
> Is there a distribution of the git server for Windows, or am I totally
> missing the point of git?

I don't know about git-daemon (git server) under Windows, but you can use I think any web server (Apache, lighttpd, or even IIS) can serve git over HTTP, and any web server with WebDAV can enable pushing to git repositories. Please remember that "dumb" protocols such as HTTP require additional info which must be generated by git (usually in post-update / post-commit hook), or transferred.

You can use SSH to access repositories, but I don't know any SSH server for Windows. You can use Cygwin OpenSSH server, I think (restrict access with git-shell, or use gitosis)...

Or you can use any networked file system.
> Will a simple file share work, or do I have to worry about file
> locking and such (e.g., two people try to commit at the same time).

The preferred workflow is for each person to have its own clone of repository; one repository plays role of central one, ut not by socilogical not technical reasons. Centralized workflow is possible, but id doesn't take as much attention.

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Chris HoffmanNext: Avery Pennarun
Message 2 of 6 in “git-daemon on Windows?”
  1. Chris HoffmanJun 11, 2008
  2. Jakub NarebskiJun 11, 2008
  3. Avery PennarunJun 11, 2008
  4. Johannes SixtJun 11, 2008
  5. John YesbergJun 12, 2008
  6. Chris HoffmanJun 12, 2008

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.