Answer a question

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?

Answers

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
Logo

ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!

更多推荐