Git大文件上傳

git lft 提交時遇到錯誤:git

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便可:github

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

解決以後,緊接着又會有另外一個錯誤:api

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

git config --global credential.helper store

經過存儲認證的密碼和帳號才解決ide

相關文章
相關標籤/搜索