论坛首页 综合技术论坛

git push 100m error

浏览 1784 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2018-05-15  

 

 

git push 100m error

 

 

#git push origin master
Counting objects: 215, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (176/176), done.
Writing objects: 100% (215/215), 43.86 MiB | 2.52 MiB/s, done.
Total 215 (delta 92), reused 0 (delta 0)
remote: Resolving deltas: 100% (92/92), completed with 44 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: 72748988434e4d4240e5aab453dbe9bb
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File showandshare/showandshare.netty.autocycleselflock/src/main/resources/heap.hprof is 238.20 MB; this exceeds GitHub's file size limit of 100.00 MB
To https://github.com/curoiusby/showandshare.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/curoiusby/showandshare.git'

 

 

 

解决方法:

git filter-branch -f --index-filter 'git rm -r --cached --ignore-unmatch showandshare/showandshare.netty.autocycleselflock/src/main/resources/heap.hprof' HEAD 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

捐助开发者 

在兴趣的驱动下,写一个免费的东西,有欣喜,也还有汗水,希望你喜欢我的作品,同时也能支持一下。 当然,有钱捧个钱场(支持支付宝和微信 以及扣扣群),没钱捧个人场,谢谢各位。

 

个人主页http://knight-black-bob.iteye.com/



 
 
 谢谢您的赞助,我会做的更好!

论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics