githubgit-lfs

batch response: Git LFS is disabled for this repository?


Now, github provide free private repo to user. So, I create a private repo and try to use Git LFS.

When I try to push files to remote, got this error:

batch response: Git LFS is disabled for this repository.
batch response: Git LFS is disabled for this repository.
batch response: Git LFS is disabled for this repository.
Uploading LFS objects:   0% (0/100), 0 B | 0 B/s, done
batch response: Git LFS is disabled for this repository.
batch response: Git LFS is disabled for this repository.
batch response: Git LFS is disabled for this repository.
error: failed to push some refs to 'https://github.com/mrdulin/programming-ebooks.git'

Is that means that private repo does not support Git LFS?


Solution

  • After reading this issue: https://github.com/git-lfs/git-lfs/issues/2481

    I contact support@github.com, they solved my issue. Here is the email content:

    Hello there,

    Thanks for writing in and I'm sorry for the trouble. I've just rebuilt your Git LFS usage and it's now re-enabled on your account.

    Thanks, Steve

    Now, I can use git-lfs.

    Connection to github.com closed by remote host. 6.0 MB/s
    Uploading LFS objects:  51% (275/540), 5.5 GB | 5.2 MB/s