开发者社区> 问答> 正文

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呢

展开
收起
杨冬芳 2016-06-27 15:50:39 2582 0
1 条回答
写回答
取消 提交回答
  • IT从业

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

    2019-07-17 19:47:45
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

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

相关实验场景

更多