Git在推送时意外结束JSON输入B/s



当我尝试将文件推送到git时,我看到了以下错误。

Remote "origin" does not support the LFS locking API. Consider disabling it with:
$ git config lfs.https://gitlab.foobar.fr/templates/scrape.git/info/lfs.locksverify false
batch request: unexpected end of JSON inputB/s                                  
error: failed to push some refs to 'git@gitlab.foobar.fr:/templates/scrape.git'

我可以提取其他文件并将其提交到回购,问题是什么?

LFS在回购上不活动,因此不支持LFS锁定API。

为了在GitLab中解决这个问题,我激活了:

Settings > General > Visibility, project features, permissions > Git Large File Storage (LFS)

这启用了回购上的LFS。

最新更新