我在从 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 支持重新初始化了解决所有问题的存储库。