Submitted by sfbob on Thu, 11/13/2014 - 22:53
Virtualmin version 4.12.gpl
Git repositories are created in directory "git" under "public_html"
In Virtualmin, with a repository created, navigating to [domain] > Services > Git Repositories and then clicking button "Repository Commends" there is documentation for some git commands on the repository
However, the documentation indicates that the repository is created at ~/ instead of ~/public_html/git
Either the documentation or the implementation should be changed so that they are consistent.
Status:
Closed (fixed)
Comments
Submitted by andreychek on Fri, 11/14/2014 - 01:10 Comment #1
Howdy -- thanks for pointing that out. You're right, that should indeed be using ~/public_html/git.
I suspect that was left over from SVN, which didn't keep the repository in public_html.
I've corrected that in the next Virtualmin version.
Submitted by sfbob on Wed, 12/03/2014 - 00:06 Comment #2
Correction to, and retraction of, the initial support request.
Upon further review and experimentation, the commands shown after pushing the "Repository Commands" button are for setting up a repository on one's own local machine, not the server.
In the "Setting up access to this repository" section the example
git config remote.upload.url http://usershortname@www.example.com/git/reponame.git/
has the server repo being accessed under public_html/git/.
My mistake. I thought I should have been there, but instead I should have been here.