Steps to getting it running
- Clone your existing git repository with "git clone --bare current_repo new_repo"
- Create an empty file called "git-daemon-export-ok" within the new repository
- "git-daemon --base-path=parent_of_new_repo"
Now, you will be running git-daemon on port 9418 on your computer. It's address is git://server-location/new_repo
To get commit access, this method requires ssh and is very easy.
4 comments:
I suggest that you update your post to keep in sync with the original post (from where you just shamelessly copied).
Thanks anon, could you link to the original post I copied from so I can update? It's been a while.
Thank you Dev.
The post is really helped me a lot to set up public repository.
Thanks! It has helped me.
Post a Comment