长期失眠应该吃什么药| 褪黑素是什么东西| 鱼油不能和什么一起吃| 双子女喜欢什么样的男生| 皮肤黑适合穿什么颜色的衣服| 女的什么时候退休| 鸡奸是什么意思| 什么样的小鸟| 宜余事勿取是什么意思| 投行是做什么的| hi是什么酸| 眼开大财主是什么生肖| 陶氏腔积液是什么意思| 吃什么对卵巢有好处| 高五行属什么| 舌炎吃什么药效果最好| 紫色裤子配什么上衣| 吃什么提神| 牙齿出血是什么病征兆| 解约是什么意思| 213什么意思| 喝蜂蜜水对身体有什么好处| 盆腔b超检查什么| 子婴是秦始皇什么人| 新生儿c反应蛋白高说明什么| 淋巴结是什么原因引起的| 汲汲营营是什么意思| 蛋白高是什么病| ex是什么的缩写| 足跟痛用什么药| 清末民初是什么时候| 云肖是什么生肖| 平均红细胞体积偏高说明什么| 8.3是什么星座| 寡情是什么意思| 脚背浮肿是什么原因引起的| 梦到拆房子是什么意思| other是什么品牌| 载脂蛋白b偏高是什么意思| 一月18号是什么星座| 乳头湿疹用什么药| 疳积是什么意思| 辛巳五行属什么| 什么自行车最贵| 日后好相见的前一句是什么| 胎盘成熟度2级是什么意思| 血糖高早餐吃什么| 211是什么大学| p图是什么意思| 孕妇吃什么血糖降得快| pb是什么单位| 声带息肉有什么危害| 梦见下大雪是什么意思| 孙权字什么| 什么人不能吃芒果| 怀孕做nt检查什么| 什么是体液| 高血脂吃什么药效果好| 咖啡豆是什么动物粪便| 八字桃花是什么意思| 吃什么肝脏排毒| cool什么意思中文| 无赖不还钱最怕什么| 以貌取人是什么意思| 脸为什么肿| 血糖高吃什么好能降糖| 胸痛挂什么科| 什么是酸性食物| 熳是什么意思| 月经期间不能吃什么水果| 铁铁什么意思| 为什么长痱子| 护肝养肝吃什么好| 心志是什么意思| 上嘴唇发黑是什么原因| 燕窝是什么| 囊肿挂什么科| 头疼流鼻血是什么原因| 骂人是什么意思| 接吻有什么好处| 人什么地灵| 心肝血虚吃什么中成药| saba是什么药| 肠道痉挛吃什么药| 什么时候测血压最准| panerai是什么牌子| 男人硬不起来是什么原因| 豆包什么意思| 2012年什么年| 肺火旺吃什么药| 已是什么生肖| 拔完智齿吃什么| 银饰变黑是什么原因| 师长是什么意思| 鼻炎流鼻血是什么原因| 六月什么星座| 吃红糖有什么好处和坏处| 什么什么分明的成语| 排卵期出血吃什么药| 检查幽门螺杆菌挂什么科| 月经不规律吃什么药调理| o型血和o型血生的孩子是什么血型| 梦到丧尸是什么预兆| 冥想是什么| 鸡蛋属于什么类食品| 怀字五行属什么| 庚午日是什么意思| 舌尖溃疡是什么原因| 入肉是什么字| 吃止痛药有什么副作用| 海松茸是什么| 如期是什么意思| 脸上老长痘痘是什么原因| 一个既一个旦念什么| 葡萄糖为什么叫葡萄糖| hc是什么意思| 苦命是什么意思| 乙木的根是什么| 肿瘤病人不能吃什么| 千呼万唤是什么生肖| ganni是什么牌子| 时至今日是什么意思| 什么的大树| 不打狂犬疫苗会有什么后果| u1是什么意思| 做面包用什么面粉| 三叉神经痛挂什么科| cr医学上是什么意思| opec是什么意思| 生意兴隆是什么生肖| 鲱鱼是什么鱼| 电焊打眼最有效最快的方法是什么| 以马内利什么意思| 什么叫粳米| 3月6日是什么星座| 麦粒肿吃什么药| 排卵期后是什么期| 豆角炒什么| 老班章是什么茶| 滑石粉是什么东西| 4月6日什么星座| 1994年属什么| cp感什么意思| 心肾不交失眠吃什么中成药| 女性查hpv挂什么科| 早上8点属于什么时辰| 肾结石什么症状| 胆在什么位置| 脑梗挂什么科| 什么马没有腿| 做喉镜挂什么科| 生理需要是什么意思| 何德何能是什么意思| 姗字五行属什么| 宫颈癌前期有什么症状| nine什么意思| 生理期可以吃什么水果| hc是胎儿的什么意思| pt是什么金属| 叶黄素是什么| 水肿是什么病| 醋精和白醋有什么区别| 尿频尿急吃什么药比较好| 7月25日什么星座| 百合吃了有什么好处| 健身吃蛋白粉有什么好处和坏处| 06年属什么| 白花花的什么| 劲酒是什么酒| 无孔不入是什么意思| 修缮是什么意思| 什么食物补气血| 猪脚焖什么好吃| 摸不到心跳是什么情况| 彩色多普勒超声检查是什么| 性激素六项检查是什么| 手麻了是什么原因| 马什么梅| 红肉指的是什么肉| 事不过三是什么意思| 友五行属什么| 应接不暇的暇是什么意思| 坐围和臀围有什么区别| 知识渊博是什么意思| 结膜出血用什么眼药水| 肿瘤吃什么药可以消除| 益生菌是什么| 狼图腾是什么意思| 关节痛挂号挂什么科| 命门火衰是什么意思| 阴毛有什么作用| 白痰咳嗽用什么药最好| 鸭屎香是什么茶| 肺部条索影是什么意思| 一个虫一个夫念什么| 桂子是什么意思| 处女座女和什么星座最配| 欧米茄什么意思| 肿脚是什么原因引起的| 湿热体质吃什么中成药| 茶叶蛋用什么茶叶| 父亲是o型血孩子是什么血型| 怀孕嗜睡什么时候开始| 生育登记服务单是什么| 马超属什么生肖| 拉稀吃什么药好| 1月12日什么星座| 乙肝两对半45阳性是什么意思| 伤官配印是什么意思| 笑什么如花| 头发的主要成分是什么| 什么药不能一起吃| 男生吃菠萝有什么好处| 省委巡视组组长什么级别| 二氧化碳分压高说明什么| 莫须有是什么意思| 贵气是什么意思| 枸杞配什么壮阳| 肾囊肿是什么| 白细胞高是什么原因| 又什么又什么的葡萄| 水痘能吃什么食物| 串词是什么| 肠梗阻是因为什么原因引起的| 黑色属于什么五行属性| 牙周炎吃什么消炎药| 属兔与什么属相相克| 7.17是什么日子| 房颤什么意思| 隐晦是什么意思| 路政是干什么的| 牙龈上火肿痛吃什么药| 瞳孔放大意味着什么| 双鱼男喜欢什么样的女生| 走路不稳是什么原因| 干部是什么意思| rr是什么意思| 肾积水有什么危害| 无厘头什么意思| 淳朴是什么意思| 圈名什么意思| 花中四君子是什么| 赶集是什么意思| 小月子吃什么水果| s925是什么| 早晨起来嘴苦是什么原因| pro是什么的缩写| 斋醮是什么意思| 拍身份证照片穿什么衣服| 致爱是什么意思| 叶酸什么时间吃最好| 大米粉做什么好吃| 城市户口和农村户口有什么区别| 尿道炎吃什么| 手指抽筋是什么原因| 不想要孩子用什么办法最好| 无常是什么意思| 蚕屎有什么作用和功效| 桑蚕丝被有什么好处| 女生是党员有什么好处| 重建是什么意思| 铁蛋白低是什么意思| 欲购从速什么意思| 庚子是什么时辰| 百度
Skip to main content

2015新年【轻松购】广保丰田昂羊启程,丰登又

百度 这两条穿城绿轴景观带完工后,将成为南昌市民漫步、休闲、娱乐、聚会、交流的新去处。

Learn how to work around the 2 GB push limit.

About the push limit

GitHub has a maximum 2 GB limit for a single push. You might hit this limit when trying to upload very large repositories for the first time, importing large repositories from other platforms, or when trying to rewrite the history of large existing repositories.

If you hit this limit, you may see one of the following error messages:

  • fatal: the remote end hung up unexpectedly
  • remote: fatal: pack exceeds maximum allowed size

You can either split up your push into smaller parts, or delete the Git history and start from scratch. If you have made a single commit that's larger than 2 GB and you can't delete the Git history and start from scratch, then you will need to perform an interactive rebase to split the large commit into multiple smaller ones.

Splitting up a large push

You can avoid hitting the limit by breaking your push into smaller parts, each of which should be under 2 GB in size. If a branch is within this size limit, you can push it all at once. However, if a branch is larger than 2 GB, you'll need to split the push into even smaller portions and push only a few commits at a time.

  1. If you haven't configured the remote yet, add the repository as a new remote. For more information, see Managing remote repositories.

  2. To find suitable commits spread out along the history of the main branch in your local repository, run the following command:

    git log --oneline --reverse refs/heads/BRANCH-NAME | awk 'NR % 1000 == 0'
    

    This command reveals every 1000th commit. You can increase or decrease the number to adjust the step size.

  3. Push each of these commits one at a time to your GitHub hosted repository.

    git push REMOTE-NAME +<YOUR_COMMIT_SHA_NUMBER>:refs/heads/BRANCH-NAME
    

    If you see the message remote: fatal: pack exceeds maximum allowed size, reduce the step size in step 2 and try again.

  4. Go through the same process for every commit you identified in the history from step 2.

  5. If this is the first time this repository is being pushed to GitHub, perform a final mirror push to ensure any remaining refs are pushed up.

    git push REMOTE-NAME --mirror
    

    If this is still too large, you'll need to push up other branches in stages using the same steps.

Once you're familiar with the procedure, you can automate steps 2 to 4 to simplify the process. For example:

step_commits=$(git log --oneline --reverse refs/heads/BRANCH-NAME | awk 'NR % 1000 == 0')
echo "$step_commits" | while read commit message; do git push REMOTE-NAME +$commit:refs/heads/BRANCH-NAME; done

Starting from scratch

If the repository does not have any history, or your initial commit was over 2 GB on its own and you don't mind resetting the Git history, you can also start from scratch.

  1. On your local copy, delete the hidden .git folder to remove all the previous Git history and convert it back into a normal folder full of files.

  2. Create a new empty folder.

  3. Run git init and git lfs install on the new folder, and add the new empty GitHub repository as a remote.

  4. If you already use Git Large File Storage and have all of the Git LFS tracking rules you intend to use already listed in the .gitattributes file in the old folder, that should be the first file you copy across to the new folder. You should ensure the tracking rules are in place before you add any other files, so that there's no chance things intended for Git LFS will be committed to regular Git storage.

    If you do not already use Git LFS, you can skip this step, or you can set up the tracking rules you intend to use in the .gitattributes file in the new folder before you copy any other files across. For more information, see Configuring Git Large File Storage.

  5. Move batches of files that are smaller than 2 GB from the old folder to the new folder. After each batch is moved, create a commit and push it before moving the next batch. You can take a cautious approach and stick to around 2 GB. Alternatively, if you have a folder with files meant for Git LFS, you can ignore those files when considering the 2 GB limit per batch.

Once the old folder is empty, the GitHub repository should contain everything. If you are using Git LFS, all files meant for Git LFS should be pushed to Git LFS storage.

耳加贵念什么 舌裂纹吃什么可以恢复 fla是什么牌子 世界上最毒的蜘蛛叫什么 脚上有痣代表什么
阿尔兹海默症挂什么科 surprise什么意思 菲薄是什么意思 张飞的武器是什么 什么布料最好
阶级是什么意思 王朔为什么不娶徐静蕾 恨天高是什么意思 副鼻窦炎是什么意思 电解工是干什么的
经期喝茶有什么影响 脂肪瘤吃什么药 手脚热是什么原因 血小板低有什么危害 紫荆花什么时候开
为什么去香港还要通行证hcv8jop7ns0r.cn 飞机打多了会有什么严重的后果吗hcv8jop0ns9r.cn 备孕吃什么最容易怀孕hcv7jop5ns3r.cn 女生补气血吃什么好hcv9jop4ns2r.cn 什么的童话wuhaiwuya.com
阳历10月是什么星座hcv8jop5ns2r.cn 梵文是什么意思hcv9jop0ns7r.cn 肾炎康复片主要是治疗什么hcv8jop0ns5r.cn 甲流是什么病hcv9jop6ns2r.cn 中药液是什么药hcv7jop9ns3r.cn
阿司匹林什么时候吃aiwuzhiyu.com 两个gg是什么牌子的包包hcv8jop3ns9r.cn 妖魔鬼怪是什么生肖hanqikai.com 月经期可以吃什么水果hcv7jop6ns0r.cn 贡高我慢是什么意思hcv8jop1ns4r.cn
佬是什么意思xscnpatent.com 肝郁气滞吃什么药liaochangning.com 经常流眼泪是什么原因hcv8jop4ns1r.cn 李白长什么样hcv7jop5ns5r.cn 动脉ct主要检查什么helloaicloud.com
百度