How do I start the git daemon on Windows in order to allow it to begin serving requests? Seems like msysgit is supposed to install it as a Windows Service or something but I don't see one.
Git daemon is run via git daemon (notice no hyphen). However, you should take a look at Gitolite or similar if you intend on hosting Git repositories on a server. Further, why are you cloning a repository with the intention of having that cloned, and any pushes to it forwarded to the repo it was cloned from?
git-daemon is a simple server for git repositories. The daemon makes git repositories available over the git:// protocol, which is very efficient, but insecure.
Git for Windows 1.7.4 includes support for git daemon on windows which was missing in previous versions. To export your repository you will need to create a file called git-daemon-export-ok in the .git directory or include the --export-all command line option.
In a git repository run:git daemon --export-all
and you can then connect to it from a remote machine eg: git ls-remote git://yourmachine/path/to/repo
You could use SCM-Manager instead of git daemon.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With