git - 如何在 Bluehost 上安装 git 仓库

标签 git apache ssh bluehost

我已经尝试了几乎所有我可以在 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 安装提供了自己的支持主题

参见 VPS or Dedicated Hosting - Installing Git

关于git - 如何在 Bluehost 上安装 git 仓库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12599548/

相关文章:

php - 如何修复固定链接不适用于 Vagrant 和 Wordpress?

c - 是否可以挂载远程文件系统并打开/mmap/dev/mem?

git - “git apply”失败,代码为 1 : trailing whitespace in SourceTree

svn - git svn : Delta source ended unexpectedly

Git 拒绝重置/丢弃文件

ssh - rhc 的自定义 ssh key 位置

networking - docker-compose 网络创建将我踢出了 ssh

git - 如何使用 git-replace 替换提交树

apache - 使用 Apache 的本地主机的自签名 SSL 证书

python - 在views.py中导入nltk时,Django webapp(在Apache2服务器上)无限期挂起