【发布时间】:2012-11-28 02:22:01
【问题描述】:
我在从 heroku 检索当前应用程序代码时遇到问题。我认为 Heroku 搞砸了,但他们的支持还没有回复(3 天而且还在计数)。 但也许其他人知道可能出了什么问题,或者有什么我可以尝试的。
终端输出:
$ heroku git:clone -a APPNAME
Cloning from app 'APPNAME'...
Cloning into 'APPNAME'...
warning: You appear to have cloned an empty repository.
$ git pull
Your configuration specifies to merge with the ref 'master'
from the remote, but no such ref was fetched.
.git/config 看起来不错,但是本地目录没有分支或其他内容。
更新 这个问题确实是一个损坏的 git 存储库。 Heroku 支持重新初始化了解决所有问题的存储库。
【问题讨论】: