You are not logged in.
I set up a git server for myself. I am still pretty new to git. Anyway I was wondering if there is a config setting I can set in each project so when I browse git web I see
Project Name
instead of
project/.git
Thanks
Offline
There is a file named description in your git root.
Offline
Yeah I have the description set fine. I am trying to edit the column before that. The project name. If you do that in the description file then I am not sure of the syntax because whatever I put in description shows up under description and doesn't change the project name.
Offline
Oh... Just rename the folder the git repo is in.
Offline
old post... but no one should waste 1/2 hour of their lives trying to figure this out:
I have soft links in the main repo directory (e.g., /home/myusername/git/repo) pointing to my project folders. That way on my /etc/gitweb.conf I can point $projectroot to:
$projectroot = "/home/myusername/git/repo/";So, before I had a softlink pointing to the base of the project directory. I created this by:
cd ~/git/repo
ln -s /home/code/myproject myprojectBut then gitweb would display (a bit annoyingly) the project name as: myproject/.git
A simple solution... Which took me half hour to realize:
cd ~/git/repo
ln -s /home/code/myproject/.git myprojectThat way, gitweb displays the project name: myproject/
Offline
Oh... Just rename the folder the git repo is in.
Sorry for necrobumping, but aside from zbot's solution how does "renaming the folder" work?
If you mean "mv .git myproject", that destroys the git repo. So, what do you actually mean by "rename the folder the repo is in"?
It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)
Offline