代码之家  ›  专栏  ›  技术社区  ›  Lin Du Correcter

批处理响应:是否为此存储库禁用Git LFS?

  •  1
  • Lin Du Correcter  · 技术社区  · 6 年前

    现在,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 回复  |  直到 6 年前
        1
  •  1
  •   Lin Du Correcter    6 年前

    阅读本期后: 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