无法推送到我的heroku应用程序

问题描述:

我在推送到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://*.com/questions/9005756/how-to-fix-a-bad- git-tree-object) – Sukima

我从heroku支持中找到了解决方案。回购可通过运行RESSET:

heroku repo:reset 
+0

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