English 中文(简体)
Github 拒绝大量档案,尽管存在缺陷
原标题:Github rejecting large file despite lfs

我有一大笔档案,用高尔夫球跟踪。 然而,仍然反对。

我实际上能够大大缩小档案规模,但我仍然可以推倒。

I ve经核实,通过git lfs ls-files对档案进行跟踪。

我试图推动:

Uploading LFS objects: 100% (23/23), 210 MB | 0 B/s, done.
Enumerating objects: 177, done.
Counting objects: 100% (177/177), done.
Delta compression using up to 12 threads
Compressing objects: 100% (102/102), done.
Writing objects: 100% (102/102), 369.48 KiB | 434.00 KiB/s, done.
Total 102 (delta 63), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (63/63), completed with 47 local objects.
remote: error: Trace: 1e2d1dd7815caa92be761a87d6f90afaca999e05b2f21e34d68c3965ed04618f
remote: error: See https://gh.io/lfs for more information.
remote: error: File Assets/Scenes/Main.unity is 102.54 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 github.com:arcadeperfect/Phys-Clock-Unity.git
 ! [remote rejected] mac -> mac (pre-receive hook declined)
问题回答
  1. As the error log: you need to enable git LFS support in Github repository
  2. After that try to push again with git push origin branch-name and git lfs push --all




相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

热门标签