In your clone of gitosis-admin , edit gitosis. That's it. If you now add others to members , they can use that repository too. Anonymous read-only access to git repositories is provided by git-daemon , which is distributed as part of git. For other operating systems, use a similar invocation in an init. Note that this short snippet is not a substitute for reading and understanding the relevant documentation. It is most commonly used anonymously, but you could also require authentication in your web server, before letting people use it.
You should also set description and owner for each repository. You can email the author at tv eagain. Skip to content. Star 1. Branches Tags. Could not load branches.
Could not load tags. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science.
Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. You will have to enter a passphrase for this keyfile. The script installs git gitosis apache2 libapache2-mod-php5 php-geshi gitweb using aptitude The gitosis setup generates a user "gitosis".
The script renames this user to "git" The script initializes gitosis with your key file The script adds the git-daemon to the services and adds an allow rule for the git port in the firewall ufw configuration. Note: The script does not change your document root if already existing. Gitweb is a perl construction that is added to the apache2 using a location alias.
For other operating systems, use a similar invocation in an init. Note that this short snippet is not a substitute for reading and understanding the relevant documentation. It is most commonly used anonymously, but you could also require authentication in your web server, before letting people use it. You should also set description and owner for each repository.
You can email the author at tv eagain. Skip to content. Star A version of Gitosis that provides wildcards GPL Branches Tags. Could not load branches.
Could not load tags. Latest commit. Git stats commits.
0コメント