{"thread":{"id":"13894","subject":"git-daemon on Windows?","startedAt":"2008-06-11T12:51:25Z","lastAt":"2008-06-12T18:24:50Z","messageCount":6,"participants":["Chris Hoffman","Jakub Narebski","Johannes Sixt","Avery Pennarun","John Yesberg"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"79447","messageId":"63c5d3820806110551y69e895eeg4fde4bfdaf22bbf2@mail.gmail.com","threadId":"13894","inReplyTo":null,"subject":"git-daemon on Windows?","fromName":"Chris Hoffman","fromEmail":"chris.c.hoffman@gmail.com","sentAt":"2008-06-11T12:51:25Z","receivedAt":"2008-06-11T12:51:25Z","isPatch":false,"sender":{"key":"chris.c.hoffman@gmail.com","avatar":"https://gravatar.com/avatar/fa4fdba46b9a40c71850e4429022469d6ed6a499a818eeb9c6ebad346b68fbf1?d=mp&s=160"},"body":"Hello,\n\nIs there a distribution of the git server for Windows, or am I totally\nmissing the point of git?  Will a simple file share work, or do I have\nto worry about file locking and such (e.g., two people try to commit\nat the same time).\n\nThanks,\nChris\n"},{"id":"79450","messageId":"m38wxcrtjr.fsf@localhost.localdomain","threadId":"13894","inReplyTo":"63c5d3820806110551y69e895eeg4fde4bfdaf22bbf2@mail.gmail.com","subject":"Re: git-daemon on Windows?","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2008-06-11T13:27:08Z","receivedAt":"2008-06-11T13:27:08Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"\"Chris Hoffman\" <chris.c.hoffman@gmail.com> writes:\n\n> Is there a distribution of the git server for Windows, or am I totally\n> missing the point of git?\n\nI don't know about git-daemon (git server) under Windows, but you can\nuse I think any web server (Apache, lighttpd, or even IIS) can serve\ngit over HTTP, and any web server with WebDAV can enable pushing to\ngit repositories.  Please remember that \"dumb\" protocols such as HTTP\nrequire additional info which must be generated by git (usually in\npost-update / post-commit hook), or transferred.\n\nYou can use SSH to access repositories, but I don't know any SSH\nserver for Windows.  You can use Cygwin OpenSSH server, I think\n(restrict access with git-shell, or use gitosis)...\n\nOr you can use any networked file system.\n\n> Will a simple file share work, or do I have to worry about file\n> locking and such (e.g., two people try to commit at the same time).\n\nThe preferred workflow is for each person to have its own clone of\nrepository; one repository plays role of central one, ut not by\nsocilogical not technical reasons.  Centralized workflow is possible,\nbut id doesn't take as much attention.\n\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"},{"id":"79451","messageId":"484FD8FA.3060003@viscovery.net","threadId":"13894","inReplyTo":"63c5d3820806110551y69e895eeg4fde4bfdaf22bbf2@mail.gmail.com","subject":"Re: git-daemon on Windows?","fromName":"Johannes Sixt","fromEmail":"j.sixt@viscovery.net","sentAt":"2008-06-11T13:54:02Z","receivedAt":"2008-06-11T13:54:02Z","isPatch":false,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Chris Hoffman schrieb:\n> Is there a distribution of the git server for Windows, or am I totally\n> missing the point of git?  Will a simple file share work, or do I have\n> to worry about file locking and such (e.g., two people try to commit\n> at the same time).\n\nYou are missing *some* point of git: Usually, everyone has his own\nrepository, hence, commits that happen concurrently won't be a problem.\n\nBut you must exchange your work, and for this it is common that everyone\nin addition has a publically accessible (bare) repository. These you can\nplace on a normal file share. I do this all the time.\n\nYou *can* choose to have only a single (bare) repository that everyone\nuses to exchange work. But then you do have to worry about concurrent\n*pushes* that get in the way of each other. You have this problem no\nmatter which form of server you chose (file share, ssh, git daemon,\nWebDAV). If you go this route, you need a policy how people publish their\nwork (eg. branch namespaces). msysgit and 4msysgit do it this way.\n\n-- Hannes\n"},{"id":"79463","messageId":"32541b130806110941n2b8c880bk79fb09db3f089f82@mail.gmail.com","threadId":"13894","inReplyTo":"m38wxcrtjr.fsf@localhost.localdomain","subject":"Re: git-daemon on Windows?","fromName":"Avery Pennarun","fromEmail":"apenwarr@gmail.com","sentAt":"2008-06-11T16:41:41Z","receivedAt":"2008-06-11T16:41:41Z","isPatch":false,"sender":{"key":"apenwarr@gmail.com","avatar":"https://avatars.githubusercontent.com/u/20592?v=4"},"body":"On 6/11/08, Jakub Narebski <jnareb@gmail.com> wrote:\n> \"Chris Hoffman\" <chris.c.hoffman@gmail.com> writes:\n>\n>  > Is there a distribution of the git server for Windows, or am I totally\n>  > missing the point of git?\n>\n> I don't know about git-daemon (git server) under Windows\n\nI can confirm that the git-daemon works fine on Windows (cygwin).\nCurrently using git 1.5.5, but previous versions worked for me as\nwell.\n\nBut Jakub's other suggestions are probably more appropriate for a \"git\nserver\" in the same sense as an \"svn server\" or \"p4 server\" (ie.\nread-write access with authentication).\n\nHave fun,\n\nAvery\n"},{"id":"79600","messageId":"1033a22d0806120823j40185f9dj28672803490f8bdb@mail.gmail.com","threadId":"13894","inReplyTo":"484FD8FA.3060003@viscovery.net","subject":"Re: git-daemon on Windows?","fromName":"John Yesberg","fromEmail":"john.yesberg@gmail.com","sentAt":"2008-06-12T15:23:20Z","receivedAt":"2008-06-12T15:23:20Z","isPatch":false,"sender":{"key":"john.yesberg@gmail.com","avatar":null},"body":"I'm trying to learn about this too.\nI found the gittutorial\nhttp://www.kernel.org/pub/software/scm/git/docs/gittutorial.html\nuseful.\nSee the section \"Using git for collaboration\", which explains how use\ncan use a shared filesystem.\n\nOr maybe I don't understand the subtleties of the issue.\n\nJohn.\n\nOn Wed, Jun 11, 2008 at 2:54 PM, Johannes Sixt <j.sixt@viscovery.net> wrote:\n> Chris Hoffman schrieb:\n>> Is there a distribution of the git server for Windows, or am I totally\n>> missing the point of git?  Will a simple file share work, or do I have\n>> to worry about file locking and such (e.g., two people try to commit\n>> at the same time).\n>\n> You are missing *some* point of git: Usually, everyone has his own\n> repository, hence, commits that happen concurrently won't be a problem.\n>\n> But you must exchange your work, and for this it is common that everyone\n> in addition has a publically accessible (bare) repository. These you can\n> place on a normal file share. I do this all the time.\n>\n> You *can* choose to have only a single (bare) repository that everyone\n> uses to exchange work. But then you do have to worry about concurrent\n> *pushes* that get in the way of each other. You have this problem no\n> matter which form of server you chose (file share, ssh, git daemon,\n> WebDAV). If you go this route, you need a policy how people publish their\n> work (eg. branch namespaces). msysgit and 4msysgit do it this way.\n>\n> -- Hannes\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n"},{"id":"79610","messageId":"63c5d3820806121124p490ecf3eh87cb7c3742937fb2@mail.gmail.com","threadId":"13894","inReplyTo":"1033a22d0806120823j40185f9dj28672803490f8bdb@mail.gmail.com","subject":"Re: git-daemon on Windows?","fromName":"Chris Hoffman","fromEmail":"chris.c.hoffman@gmail.com","sentAt":"2008-06-12T18:24:50Z","receivedAt":"2008-06-12T18:24:50Z","isPatch":false,"sender":{"key":"chris.c.hoffman@gmail.com","avatar":"https://gravatar.com/avatar/fa4fdba46b9a40c71850e4429022469d6ed6a499a818eeb9c6ebad346b68fbf1?d=mp&s=160"},"body":"Yes, I think that this is a very good section of the tutorial to\nconsult.  It is just hard for me to beat back my subversion thinking.\n\nOn Thu, Jun 12, 2008 at 11:23 AM, John Yesberg <john.yesberg@gmail.com> wrote:\n> I'm trying to learn about this too.\n> I found the gittutorial\n> http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html\n> useful.\n> See the section \"Using git for collaboration\", which explains how use\n> can use a shared filesystem.\n>\n> Or maybe I don't understand the subtleties of the issue.\n>\n> John.\n>\n> On Wed, Jun 11, 2008 at 2:54 PM, Johannes Sixt <j.sixt@viscovery.net> wrote:\n>> Chris Hoffman schrieb:\n>>> Is there a distribution of the git server for Windows, or am I totally\n>>> missing the point of git?  Will a simple file share work, or do I have\n>>> to worry about file locking and such (e.g., two people try to commit\n>>> at the same time).\n>>\n>> You are missing *some* point of git: Usually, everyone has his own\n>> repository, hence, commits that happen concurrently won't be a problem.\n>>\n>> But you must exchange your work, and for this it is common that everyone\n>> in addition has a publically accessible (bare) repository. These you can\n>> place on a normal file share. I do this all the time.\n>>\n>> You *can* choose to have only a single (bare) repository that everyone\n>> uses to exchange work. But then you do have to worry about concurrent\n>> *pushes* that get in the way of each other. You have this problem no\n>> matter which form of server you chose (file share, ssh, git daemon,\n>> WebDAV). If you go this route, you need a policy how people publish their\n>> work (eg. branch namespaces). msysgit and 4msysgit do it this way.\n>>\n>> -- Hannes\n>> --\n>> To unsubscribe from this list: send the line \"unsubscribe git\" in\n>> the body of a message to majordomo@vger.kernel.org\n>> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>>\n>\n"}]}