【发布时间】:2022-01-23 05:13:23
【问题描述】:
我正在尝试进行 LFS 推送,但这似乎对我不起作用
我使用了以下命令
git lfs install
git lfs track "X"
git add .gitattributes
git commit -m "LFS added"
git push origin main
这似乎不起作用,所以我参考了SO 上的一个主题并使用了以下 cmets
git config --global lfs.allowincompletepush true
git lfs push --all origin main
在尝试再次推送之后似乎也没有用,所以我尝试了:
git config --global lfs.contenttype 0
还没有解决?有什么想法吗?
那些想知道的错误:
remote: Resolving deltas: 100% (11082/11082), done.
remote: error: Trace: a0c4773907c1208cb55f235c3169f15af2f3bf0000300aba7f3a687ffd0589e1
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File Library/ArtifactDB is 128.00 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
To https://github.com/JannickOste/Camelot2D
! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/JannickOste/Camelot2D'
【问题讨论】:
-
@SwissCodeMen 这似乎也不起作用:(