git - 使用 Git 将代码推送到 Heroku 时出错
问题描述
运行后出现此错误
git push heroku master
命令
致命:无法访问“https://git.heroku.com/afternoon-sands-50963.git/”:无法连接到 git.heroku.com 端口 443:连接被拒绝
解决方案
尝试删除您的 Heroku 远程引用,然后重新添加它并添加密钥。使用以下命令:
git remote rm heroku
git remote add heroku git@heroku.com:afternoon-sands-50963.git
heroku keys:add
推荐阅读
- docker - Traefik CouchDB 问题
- vue.js - Vue Jest 测试循环等待
- git - 从控制台/詹金斯隐藏 GitSCM 输出
- java - ConsoleLoggerManager.getLoggerForComponent 在启动 Fitnesse 时给出 NullPointerException
- android - 将 FirebaseAuth 模拟器连接到 Kotlin Android 项目
- prolog - 多集序言中的包含函数
- c# - 使用 ValueObject 的 AutoMapper 表达式映射
- reactjs - 警告:渲染不同组件时无法更新组件。ReactRedux.Consumer
- javascript - 反应:[名称]未检测到
- javascript - 更改 HTML 内容并循环截取屏幕截图(Node.js + Puppeteer / Playwright)