Git Push错误(大文件)

时间:2017-07-07 09:21:06

标签: git

我在本地git仓库中有一些视频文件阻止我进行推送。

我已使用以下命令从本地存储库中删除了这些文件:

git rm static/video -r -f

但是当我尝试git push时,他们仍然阻止我的分支被推送(因为它们超过了文件大小限制)。

我该如何解决这个问题?

git push        

Counting objects: 2754, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (1558/1558), done.
    Writing objects: 100% (2064/2064), 317.03 MiB | 1.60 MiB/s, done.
    Total 2064 (delta 1640), reused 622 (delta 496)
    remote: Resolving deltas: 100% (1640/1640), completed with 618 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: 23f34cbc9f2adebd84c33f871ab54e68
    remote: error: See http://git.io/iEPt8g for more information.

0 个答案:

没有答案