赞
踩
自己平常用git作为项目版本控制工具,在往代码托管仓库github提交代码时,由于自己的commit中包含了一个几百兆的字符串文件,git push失败,并报以下错误:
Counting objects: 33, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (33/33), done.
Writing objects: 100% (33/33), 82.14 MiB | 3.17 MiB/s, done.
Total 33 (delta 13), reused 0 (delta 0)
remote: Resolving deltas: 100% (13/13), completed with 6 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: 521034d3abb4a142c2d2a6d9bcef7bd5
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File src/string/findMostPoem.txt is 490.51 MB; this exceeds GitHub's file size limit of 100.00 MB
To https://github.com/my/my.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/my/my.git'
意思是有大文件,更多信息可到http://git.i
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。