11.8 Setting Up a Public Repository
The one last thing you might need to do is set up the read-only portion of your repository. You have to do this only if you want to share your work with other developers without having to set up a user for them. This is most common in open source development where anyone can read from the repository.
Setting this up requires two steps. First, you have to configure your
repository for sharing with Gitosis. Second, you have to run
git daemon to respond to the requests.
To configure Gitosis, you need to edit gitosis.conf
from earlier. This time, add a new section called repo
with the name of your repository. For example, if your repository were
called web, you would add this:
|
[repo web] |
That’s ...