Question

Hi I have recently set up a git server for my stuff. and it is working ok,

I have installed gitweb which is also working fine.

Except for the fact I don't seem to have any control over which repo's are being shown; specifically I DO NOT want my gitosis-adimin.git to be shown.

Inside of this directory in the gitosis.conf i have set to the following /home/git/repositories/gitosis-admin.git/gitosis.conf

[gitosis]
gitweb = yes

[repo gitosis-admin]
gitweb = no

[group gitosis-admin]
writable = gitosis-admin
members = 111111@devbox

I had hoped that this would disable the web UI from displaying this .git

my gitweb.conf is as follows /etc/gitweb.conf

# path to git projects (<project>.git)
$projectroot = "/home/git/repositories";
# directory to use for temp files
$git_temp = "/tmp";
# target of the home link on top of all pages
#$home_link = $my_uri || "/";
# html text to include at home page
$home_text = "indextext.html";
# file with project list; by default, simply scan the projectroot dir.
$projects_list = $projectroot;
# stylesheet to use
$stylesheet = "gitweb.css";
# javascript code for gitweb
$javascript = "gitweb.js";

I'm really not sure how to disable it from showing this information.

Thank You

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top