我在git push上遇到了问题。 当我运行推送时,有一些大文件。例如:
remote: error: File SH_scripts/cbc_windows_perl5/instantclient_11_2/oraociei11.dll is 124.21 MB;
this exceeds GitHub Enterprise's file size limit of 100.00 MB
To https://github.xxxx.com/app-FST/CCS_src1 !
[remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to
'https://github.xxxx.com/app-FST/CCS_src1'
我将文件压缩为zip文件。将zip文件添加到Git并删除了原始文件。
$ git add oraociei11.dll.zip
$ git rm oraociei11.dll
$ ls oraociei11.dll
ls: cannot access oraociei11.dll: No such file or directory
$ ls oraociei11.dll.zip
oraociei11.dll.zip
我修复了上面的所有大文件。我重新跑了" git push"。然而它再次显示了同样的问题!看来我可能要重置索引?我对么?这个问题的解决步骤是什么? 我非常感谢你的帮助。
谢谢,
Andrew K