git一次push异常
来源:互联网 发布:js控制div隐藏与显示 编辑:程序博客网 时间:2024/06/08 01:10
$ git push -u origin master -f
Counting objects: 1265, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1166/1166), done.
Writing objects: 100% (1265/1265), 53.01 MiB | 381.00 KiB/s, done.
Total 1265 (delta 277), reused 0 (delta 0)
remote: Resolving deltas: 100% (277/277), done.
remote: warning: Large files detected.
remote: error: File "Doc/\346\265\213\350\257\225" is 164.08 MB; this exceeds file size limit of 100.0 MB
remote: error: hook declined to update refs/heads/master
To https://git.oschina.net/androidios_monarch/ftagriculture.git
! [remote rejected] master -> master (hook declined)
Counting objects: 1265, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1166/1166), done.
Writing objects: 100% (1265/1265), 53.01 MiB | 381.00 KiB/s, done.
Total 1265 (delta 277), reused 0 (delta 0)
remote: Resolving deltas: 100% (277/277), done.
remote: warning: Large files detected.
remote: error: File "Doc/\346\265\213\350\257\225" is 164.08 MB; this exceeds file size limit of 100.0 MB
remote: error: hook declined to update refs/heads/master
To https://git.oschina.net/androidios_monarch/ftagriculture.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'https://git.oschina.net/androidios_monarch/ftagriculture.git'
刚开始没注意remote: error: File "Doc/\346\265\213\350\257\225" is 164.08 MB; this exceeds file size limit of 100.0 MB这一句话,osc git单个最大文件不能超过100mb,
对于多次本地提交的,回滚到上次提价,把大于100mb的文件删除或者压缩,再重新提交就可以了
查看提交历史
git log
回滚
git reset commit_id
0 0
- git一次push异常
- git使用异常——git push --tags
- Git插件push时报异常java.util.NoSuchElementException
- git push
- git push
- git push
- git# push
- git push
- git push
- git push
- [git] git push 上传
- git commit & git push
- git push & git pull
- git pull git push
- git、github push文件过大异常git-fatal the remote end hung up unexpectedly 解决方法
- 关于Git的Git push
- 新建git,不能git push
- git pull 与 git push
- vue.js 嵌套循环、if判断、动态删除
- mfc对话框做一个简易的ffmpeg视频播放器
- 数组和集合(一)
- 元素的相对定位与绝对定位
- 国内技术社区活跃的 Android 大神汇总
- git一次push异常
- B1010. 一元多项式求导 (25')
- nyoj116 士兵杀敌(二) (树状数组)
- HDR
- [ML]强化学习
- 解决安卓端虚拟按键盖住输入框的方法
- numpy学习笔记-唯一化
- css伪类之input输入框鼠标点击边框变色效果
- 解决iframe作为子窗口,刷新后iframe页面跳转到其它页面的问题