批处理响应:此存储库已禁用Git LFS?

时间:2019-01-16 02:49:14

标签: github git-lfs

现在,github为用户提供了免费的私有仓库。因此,我创建了一个私人仓库,并尝试使用Git LFS

当我尝试将文件推送到远程时,出现此错误:

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'

这是否意味着私人存储库不支持Git LFS

1 个答案:

答案 0 :(得分:1)

阅读此问题后:https://github.com/git-lfs/git-lfs/issues/2481

我联系support@github.com,他们解决了我的问题。这是电子邮件内容:

  

你好,

     

感谢您的来信,对不起,给您带来麻烦。我刚刚重建了您的Git LFS用法,现在已在您的帐户中重新启用它。

     

谢谢,   史蒂夫

现在,我可以使用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