git - 如何在限制 ssh 的防火墙后面通过 https 访问 heroku git

标签 git https ssh heroku

Heroku 部署在我家就像一个魅力。

但是我的办公室网络限制了 ssh,它阻止了命令“git push heroku master” 有没有办法使用 heroku git 存储库的 https url 来推送我的应用程序。

最佳答案

你只能通过 ssh 推送到 heroku git。

更新(根据@ryanbrainard 评论): HTTP Git 现在是 GA https://blog.heroku.com/archives/2014/12/5/http_git_now_generally_available

关于git - 如何在限制 ssh 的防火墙后面通过 https 访问 heroku git,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8793282/

相关文章:

用于检测推送的 Git 钩子(Hook) --mirror

git - heroku + git 子模块需要身份验证

javascript - Node.js https.createServer 抛出 TypeError : listener must be a function

perl - 通过ssh执行perl替换[shell脚本中的perl one-liner]

git - ssh key 在一段时间后停止运行

django - Elastic Beanstalk 无法更新本地 Git 配置

python-3.x - 在 urllib3 中,HTTP 请求挂起...但在curl 中则不然

security - 哪个对于 cookie : __Host prefix or setting the Domain? 更安全

c - 如何使用自定义 pam ssh 模块为用户提供自定义错误代码/阻止原因?

git - Composer - 使用本地存储库