当前位置:   article > 正文

git push 出现 unpack failed: error Missing tree错误

error missing tree

今天在git push 的时候出现:

  1. Counting objects: 1, done.
  2. Writing objects: 100% (1/1), 216 bytes | 0 bytes/s, done.
  3. Total 1 (delta 0), reused 0 (delta 0)
  4. error: unpack failed: error Missing tree 20529bef19e96bdf347674b9378c54e55817a0f6
  5. fatal: Unpack error, check server log
  6. To ssh://172.21.198.107:29418/245MSM8909_mirror/LINUX/android/platform/vendor/commons/packages/apps/PhoneManager.git
  7. ! [remote rejected] HEAD -> refs/for/MSM8909.LA.3.0.1-dev (n/a (unpacker error))
  8. error: failed to push some refs to 'ssh://172.21.198.107:29418/245MSM8909_mirror/LINUX/android/platform/vendor/commons/packages/apps/PhoneManager.git'

查了网上资料,有几种说法:

1、git version 查看版本,回退git 版本

2、git push origin HEAD:refs/for/my_branch --no-thin


本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/爱喝兽奶帝天荒/article/detail/945115
推荐阅读
相关标签
  

闽ICP备14008679号