Git:未找到 Heroku 存储库或对象:

2023-12-22

这是 Heroku master push 命令的错误消息

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'

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

可能是什么问题?


解决方法:

git push heroku master --no-verify

这禁用了 git-lfs pre-push hook。元数据文件已提交,但二进制文件未上传。

然后,根据 upendra 的回答,可以使用构建包来下载文件。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Git:未找到 Heroku 存储库或对象: 的相关文章

随机推荐