2016-11-09 83 views
0

我在推送到heroku應用程序時遇到問題。我有一個現有的回購,並通過控制檯創建一個heroku應用程序。無法推送到我的heroku應用程序

我做

heroku git:remote -a myapp 

後來,當我做

git push heroku master 

我得到:提前

fatal: bad tree object 06c7dcf7e58e681253c74c381bb08827575046d3 
fatal: The remote end hung up unexpectedly 
fatal: The remote end hung up unexpectedly 
error: failed to push some refs to 'https://git.heroku.com/myapp.git' 
fatal: write error: Bad file descriptor 

感謝。

+0

的可能的複製[如何修復壞的Git樹對象(http://stackoverflow.com/questions/9005756/how-to-fix-a-bad- git-tree-object) – Sukima

回答

0

我從heroku支持中找到了解決方案。回購可通過運行RESSET:

heroku repo:reset 
+0

我得到'repo:reset不是一個heroku命令.'。 – ProfK

相關問題