开发者社区> 问答> 正文

ios git push时候报错,求解决?报错

Pushing to https://git.oschina.net/tommychen1228/xueyinyue_student_iphone.git

POST git-receive-pack (chunked)

remote: warning: Large files detected.        

remote: error: File Student/Libs/EaseMobSDK/lib/libEaseMobClientSDK.a is 117.98 MB; this exceeds Git@OSC's file size limit of 100 MB        

remote: error: hook declined to update refs/heads/v2.0.0-dev        

To https://git.oschina.net/tommychen1228/xueyinyue_student_iphone.git

 ! [remote rejected] v2.0.0-dev -> v2.0.0-dev (hook declined)

error: failed to push some refs to 'https://git.oschina.net/tommychen1228/xueyinyue_student_iphone.git'

我现在怎么一处那个sdk呢

展开
收起
爱吃鱼的程序员 2020-06-12 10:54:39 688 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    文件太大了。用gitrm删除之。sdk这种东西不应该往git上上传,版本库保存核心代码即可。
    将sdk忽略掉,.gitignore文件添加sdk文件

    2020-06-12 10:54:58
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
新一代高效Git协同模型 立即下载
AGit-Flow:新一代高效Git协同模型 立即下载
AGit-flow:新一代高效Git协同模型 立即下载

相关实验场景

更多