现在,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
?
看完这个问题: 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