我正在尝试将我的 rails 应用程序推送到 heroku,首先创建 heroku 帐户,然后在命令提示符下
- 混帐初始化
- 混帐添加。
- git commit -m "init"
- heroku 登录然后推送 ssh
- heroku 创建 mycvdemo
- git push heroku 大师
C:\Sites\mycv>git push heroku master
Counting objects: 253, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (228/228), done.
Writing objects: 8% (21/253), 208.00 KiB | 3 KiB/s
但我收到此错误:
C:\Sites\mycv>git push heroku master
Counting objects: 253, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (228/228), done.
Write failed: The connection was abortediB | 3 KiB/s
fatal: sha1 file '<stdout>' write error: Invalid argument
error: failed to push some refs to 'git@heroku.com:mycvdemo.git'
当 8% 写入对象时,我总是收到此错误。