小编Ron*_*nny的帖子

heroku git:clone创建空存储库

我在从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.
Run Code Online (Sandbox Code Playgroud)

.git/config看起来很好,但本地目录没有分支或其他内容.


更新 问题确实是一个损坏的git存储库.Heroku支持重新初始化了修复所有问题的存储库.

git heroku

6
推荐指数
3
解决办法
4164
查看次数

标签 统计

git ×1

heroku ×1