instaweb

Git instaweb on windows? got a error

一曲冷凌霜 提交于 2019-12-11 05:19:43
问题 Is it possible to use instaweb on windows? I have a bare repository at D:/myrepo and I want to use instaweb to see it like this I have tried this command git instaweb --httpd=webrick But I got this error git: 'instaweb' is not a git command. See 'git --help'. Thanks in advance. 回答1: The instaweb command is not yet supported for Windows as of version 1.9.0. It's listed under 'Known issues' in the Windows release notes: Known issues • Some commands are not yet supported on Windows and excluded

git instaweb gives 403 Forbidden - No projects found

妖精的绣舞 提交于 2019-12-09 10:58:35
问题 running git instaweb in my repository opens a page that says "403 Forbidden - No projects found". What am I missing? 回答1: looks like the debian install of git sets $projectroot globally in a way that confuses instaweb . I removed the $projectroot line from /etc/gitweb.conf and the error went away. 回答2: I don't know Git about Git, but you're probably missing the ability to execute on the directory in question, chmod +X it. 回答3: check the git-web cgi (the perl), see the directory of the

Git instaweb with multiple repositories not working

你。 提交于 2019-12-07 23:41:05
问题 I have the following estructure which is populated via grok mirror: /var/opt/git/git-data/repositories /organization1 /teamA /repo1 /repo2 /teamB /repo3 /repo4 /organizationN /teamN /repoN git instaweb works fine for a individual repo but if I want to automatically git instaweb shows all repos under "repositories" dir it doesnt' work: fatal: Not a git repository (or any parent up to mount point /var/opt/git/git-data) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

git instaweb gives 403 Forbidden - No projects found

坚强是说给别人听的谎言 提交于 2019-12-03 15:18:36
running git instaweb in my repository opens a page that says "403 Forbidden - No projects found". What am I missing? looks like the debian install of git sets $projectroot globally in a way that confuses instaweb . I removed the $projectroot line from /etc/gitweb.conf and the error went away. I don't know Git about Git, but you're probably missing the ability to execute on the directory in question, chmod +X it. check the git-web cgi (the perl), see the directory of the projectroot is same as your currect setting. there are some settings that not in gitweb.conf Two years later .. I fixed this