Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git:Heroku Repository or object not found:

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 ?

like image 581
Suresh Atta Avatar asked Jun 29 '17 10:06

Suresh Atta


People also ask

Is git necessary for Heroku?

All Github provides is an additional place to store your code if you are working on it in a team. There is absolutely NO REASON that you have to use github to use Heroku.


1 Answers

A workaround:

git push heroku master --no-verify

This disables git-lfs pre-push hook. Metadata files are commited but binaries are not uploaded.

Then, as per upendra's answer, a buildpack can be used to download the files.

like image 144
vmarquet Avatar answered Oct 04 '22 07:10

vmarquet