Git:Heroku存储库或找不到对象: [英] Git:Heroku Repository or object not found:

查看:369
本文介绍了Git:Heroku存储库或找不到对象:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里是Heroku主推命令的错误消息

  Git LFS:(5个文件中的0个)0 B / 167.50 MB 
批量响应:找不到存储库或对象:https://git.heroku.com/xxxx-brushlands-xx267.git/info/lfs/objects/batch
检查它是否存在,以及您有适当的访问权限
错误:未能将一些文件推送到'https://git.heroku.com/xxxx-brushlands-xx267.git'

为Git LFS添加一个长文本文件(用于大文件的git),然后Heroku停止工作。



什么可能是这个问题?

解决方案

大量的谷歌搜索后,我发现问题是与Heroku。如果您使用的是Heroku,那么Heroku不支持LFS,您必须寻找替代品。



我将我的长文本文件上传到Dropbox并从那里访问。 Heroku肯定会考虑这个问题。


Here is the error message from Heroku master push command

Git LFS: (0 of 5 files) 0 B / 167.50 MB                                                                                                    
batch response: Repository or object not found: https://git.heroku.com/xxxx-brushlands-xx267.git/info/lfs/objects/batch
Check that it exists and that you have proper access to it
error: failed to push some refs to 'https://git.heroku.com/xxxx-brushlands-xx267.git'

Added a long text file to Git LFS (git for large files) and after that Heroku stopped working.

What might be the issue ?

解决方案

After alot of googling I found that the problem is with Heroku. If you are using Heroku, then Heroku doesn't support LFS and you have to look for alternatives.

I uploaded my long text file to dropbox and accessing it from there. Heroku should definitely look in to this issue.

这篇关于Git:Heroku存储库或找不到对象:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆