我已经尝试了几乎所有我可以在 Google 上找到的东西,如果你输入:bluehost git repository 所有结果都在第一页,一些在第二页,我已经试过了。我也试过这个非常有用的教程,但没有太大帮助,8 ways to share your git repository到目前为止,这就是我得到的。使用 HTTP 方法时,我可以将存储库克隆/获取/pull 到我的计算机,但我无法推送。它需要对 httpd.conf 进行更改,这在 Bluehost 上是不可能的。使用 CGI(http://en.bainternet.info/2012/how-to-git-over-http)方法和 HTTP,我总是会收到 500 服务器错误。当使用 SSH 时,因为我确实可以访问 SSH shell,所以我得到“远程端意外挂断”。在 Google 上找到的大多数教程至少有 6 个月的历史,例如这个 ( http://www.calzzani.com/blog/?p=92 ) 提供了一个很好的解决方案,但是
I was messing around with my .bashrc file all morning before finding out that bluehost no longer allows remote paths to be accessed via non-interactive logins. If only I had discovered this 4 hours sooner!
我浪费了 4 个多小时来尝试解决方案,这可以完成吗?
最佳答案
看来 bluehost 现在为 git 安装提供了自己的支持主题
关于git - 如何在 Bluehost 上安装 git 仓库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12599548/