小编Hai*_*ome的帖子

推送到github repo时出错

在推送我的提交时收到以下错误

remote: warning: File var/log/system.log is 57.82 MB; this is larger than recommended maximum file size of 50 MB
remote: error: GH001: Large files detected.
remote: error: Trace: 96d01231dffac3fbc3ba1eb2e9f01a93
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File var/report/752246136671 is 100.86 MB; this exceeds github's file size limit of 100 MB
Run Code Online (Sandbox Code Playgroud)

我尝试了下面逐步列出的命令:

git push -u origin master
Run Code Online (Sandbox Code Playgroud)

当我输入git status时,无法在git文件中找到这些提交.

你可以告诉我如何在没有这些错误的情况下将我的更改推送到repo吗?我猜这些文件都在github索引中.我还尝试了git rm --cached var/log/system.log.但没有结果.

把头撞到墙上!

更新1 请根据以下专家的两个答案找到Gists:

更新2 请在下面找到我试图删除的文件的git Log详细信息:

答案的答案

请找到解决我问题的最终答案的要点 …

git github

3
推荐指数
1
解决办法
3269
查看次数

标签 统计

git ×1

github ×1