无法部署到Heroku:参数列表太长 - bin / receive_untrusted

时间:2015-03-04 16:18:45

标签: heroku

当我尝试在Heroku上更新我的Java应用程序时,它失败并显示“参数列表太长 - bin / receive_untrusted”。这发生在实际构建过程开始之前,这是我得到的唯一错误。当然它在当地建立完美..

Counting objects: 95506, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (28630/28630), done.
Writing objects: 100% (95506/95506), 16.95 MiB | 2.82 MiB/s, done.
Total 95506 (delta 42943), reused 94815 (delta 42643)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: Build stream timed out, reverting to polling...
remote: 
remote: Build output:
remote: Argument list too long - bin/receive_untrusted
remote: !   Push rejected to xxxxx.
remote: 
To https://git.heroku.com/xxxx.git
 ! [remote rejected] develop -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/xxxxx.git'

1 个答案:

答案 0 :(得分:0)

为我修复它的唯一方法是重置Heroku中的Git仓库并从头开始推送它,如answer中所述。