Git大文件上传

git lft 提交时遇到错误:

Remote “origin” does not support the LFS locking API. Consider disabling it with

    git push -u origin master
    Remote "origin" does not support the LFS locking API. Consider disabling it with:
        $ git config lfs.https://github.com/garsonlab/lfs.locksverify false

解决方法直接按照上方提示,将LFS locking设置为false即可:

    git config lfs.https://github.com/garsonlab/lfs.locksverify false

解决之后,紧接着又会有另一个错误:

batch response: Git credentials for https://github.com/garsonlab/***.git not found:
解决方式:

git config --global credential.helper store

通过存储认证的密码和账号才解决

猜你喜欢

转载自www.cnblogs.com/garsonlab/p/10458172.html
今日推荐