在 Heroku 上查看 Git 存储库
我想知道是否有可能或者有人找到了在 Heroku 服务器上以图形方式查看 git 存储库的方法?就像可以在 Heroku 上设置诸如 gitalist 之类的东西,然后查看您在 Heroku 上为该应用程序设置的 git 的提交。
问候,
I was wondering if it's possible or anyone has found a way to view their git repository graphically on a Heroku server? Like would it be possible to set up something such as gitalist on Heroku and then view the commits from the git you have set up for that app on Heroku.
Regards,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Heroku 仅运行 Rack 应用程序,因此如果您想在 Heroku 本身上运行它,您需要一个基于 Rack 的 Git 浏览器。
但是您可以将存储库镜像到另一台安装了 gitweb (或类似)的服务器上,甚至可以设置一个 cron 作业在服务器之间进行克隆。
您的用例是什么?很难想象在什么情况下这会有用。
Heroku only runs Rack applications, so you'd need a Rack-based Git browser if you want to run it on Heroku itself.
But you could just mirror the repository on another server that has gitweb (or similar) installed, and you could even set up a cron job to clone between the servers.
What's your use case for this? It's hard to think of a situation in which this would be useful.