Git 推送时 JSON inputB/s 意外结束
Git unexpected end of JSON inputB/s when pushing
我尝试将文件推送到 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 在 repo 上未激活,因此不支持 LFS 锁定 API。
为了在 GitLab 中解决这个问题,我激活了:
Settings > General > Visibility, project features, permissions > Git Large File Storage (LFS)
这在存储库上启用了 LFS。
我尝试将文件推送到 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 在 repo 上未激活,因此不支持 LFS 锁定 API。
为了在 GitLab 中解决这个问题,我激活了:
Settings > General > Visibility, project features, permissions > Git Large File Storage (LFS)
这在存储库上启用了 LFS。