git 推送后该项目从 gitweb 中消失
我使用 gitolite 托管我的源代码,并使用 gitweb 设置一个网站来显示我的所有项目。一开始,所有项目都通过 gitweb 正确显示,但是,在我修改一个项目并执行 git Push 后,它立即从项目列表中消失。
每个项目,每当我对其进行 git Push 时,它就会从 gitweb 的项目列表中消失。然后,如果我对该项目执行“git clone --bare”并替换原来的项目,它将再次回到项目中......
有人遇到同样的问题吗?
ps 我做了一个“git clone --bare”并做了一个“git push”,然后将其与原始版本进行比较,我得到的是:
Only in test.git/objects: 86 仅在 test.git/objects 中:af 仅在 test.git/objects 中:f4 仅在 test.git/refs/heads: master 中
创建一个具有 master 提交 id 的新文件。
I use gitolite to host my source code, and setup a website using gitweb to display all my projects. At the beginning, all projects are shown correctly via gitweb, however, after I modified one project and do a git push, it disappeared immediately from the project list.
Every project, whenever I do a git push on it, it will disappear from the project list of the gitweb. Then if I do a "git clone --bare" of that project and replace the original one, it will be back in the project again...
Anyone encounter the same problem?
p.s. I make a "git clone --bare" and do a "git push", then diff it with the original one, what I get is:
Only in test.git/objects: 86
Only in test.git/objects: af
Only in test.git/objects: f4
Only in test.git/refs/heads: master
a new file with master's commit id is created.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这取决于:
“消失”意味着您在 Apache 级别输入的身份验证不是授权读者之一。
It depends:
"disappear" means the authentication you did enter at the Apache level isn't one of the authorized reader.