【发布时间】:2018-08-11 03:01:15
【问题描述】:
当我执行以下操作时:
git add *
git commit -m "msg"
git push origin develop
我收到以下错误:
Counting objects: 25, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (24/24), done.
Writing objects: 100% (25/25), 46.43 MiB | 2.49 MiB/s, done.
Total 25 (delta 13), reused 0 (delta 0)
remote: Resolving deltas: 100% (13/13), completed with 11 local objects.
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: ffe0c9f32d9cde4cedfc1f4713eb82b9
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File tags is 282.99 MB; this exceeds GitHub's file size limit of 100.00 MB
To https://mygithubrepo
! [remote rejected] develop -> develop (pre-receive hook declined)
error: failed to push some refs to 'https://mygithubrepo'
然后我从我的硬盘中删除了文件“标签”,但每次我尝试推送时,我都会收到同样的错误。该文件从未被推送到我的存储库,所以我只需要从当前提交中删除它。我尝试了很多事情,但每次都遇到同样的错误。有什么帮助吗?
当我这样做时
git ls-files
文件“标签”甚至没有显示在列表中。但它仍然在努力推动它?
【问题讨论】:
标签: git git-commit