0%

git报错LFS

报LFS错

错误1

1
WARNING: Authentication error: Authentication required: LFS only supported repository in paid enterprise.

错误2

1
batch response: LFS only supported repository in paid enterprise.

第一个错误可以执行以下命令:命令中的{your_gitee}/{your_repo}是你的远程仓库地址,根据自己情况替换。

1
git config lfs.https://gitee.com/{your_gitee}/{your_repo}.git/info/lfs.locksverify false

第二个错误可以尝试删除./git/hooks/pre-push文件,最后重新push一下即可