I am pretty new to Git. Trying to setup git repository in window server 2008 R2. I have finish with everything even tried to create new repository and cloning on same computer everything look good. Now I want to clone to my local computer using git protocol. While reading document I figure out that
git daemon --verbose --export-all
command will help and this trick work well for me. Only issue for is I have to keep bash open. Is there any way that command automatically run (may be through window service) ever after my window restart and run in background?
Also find another option that creating empty file git-daemon-export-ok in repository should work as well. I had created file with same name under my bare repository but doesn't work.
Any help?