I have a git server running with gitweb as my frontend. I noticed that there’s a forward slash in my project name Hello-World/.git
which is annoying me. To clone the project I also have to include the forward slash, which is not ideal. Full disclosure: I don’t know if it’s a git or gitweb issue.
how I’d like my projects to be displayed
For those that can’t open images. I’d like to change Hello-World/.git
to Hello-World.git
. Displaying as Hello-World
on gitweb and cloning with Hello-World.git
similar to github would be even better. I am running my server behind nginx.
Steps to reproduce :
I simply
git clone https://github.com/octocat/Hello-World.git
and manually moved the Hello-World
folder to my git repo directory. I was suggested to clone with --bare
option because gitweb assumes all repo are initialized as bare. Is this true? If so cloning Hello-World.git fails to get README.md inside the repo, which is inconvenient.