【问题标题】:Error While Pushing Code to Heroku using Git使用 Git 将代码推送到 Heroku 时出错
【发布时间】:2020-11-11 18:20:44
【问题描述】:

运行后出现此错误

git push heroku master 命令

致命:无法访问“https://git.heroku.com/afternoon-sands-50963.git/”:无法连接到 git.heroku.com 端口 443:连接被拒绝

【问题讨论】:

    标签: git heroku


    【解决方案1】:

    尝试删除您的 Heroku 远程引用,然后重新添加它并添加密钥。使用以下命令:

    git remote rm heroku
    
    git remote add heroku git@heroku.com:afternoon-sands-50963.git
    
    heroku keys:add
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-11-30
      • 1970-01-01
      • 2020-11-15
      • 2012-06-12
      • 2012-07-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多