我在从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技术支持重新初始化了该仓库,解决了所有问题。
https://github.com/etc...
。 - Runeaway3