git提交代码时出现错误:error : unpack failed : error Missing commit XXX
2017-09-12 15:25
465 查看
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/shuilengqingqiu/article/details/77945658
git提交代码时出现错误:error : unpack failed : error Missing commit XXX,XXX代表提交的版本号。
原因:本地索引出错。
解决方法:
1. git gc
2. git pull --rebase(过程中遇到冲突需要先解决冲突,再git add .)
3. git push
阅读更多相关文章推荐
- git push出现unpack failed: error Missing tree错误的解决方法
- git 提交失败,出现Commit failed with error提交解决方式
- 解决git 提交代码时提示空间不足:error: unpack failed: error No space left on device
- gerrit代码审核工具之“error unpack failed error Missing unknown”错误解决思路
- Git提交数据失败 error: failed to push some refs to 'https://github.com/XXXXXXX/gif.git'
- git提交出现错误:Failed to add file wechat_sdk_sample_ios/ to index.
- 【proguard】使用proguard混淆代码出现“Conversion to Dalvik format failed with error 1”错误的解决方法
- Git error: unpack failed: error Missing tree 解决办法
- git提交push到远程时出现error: RPC failed; HTTP 413 curl 22
- 在android中使用proguard混淆代码出现“Conversion to Dalvik format failed with error 1”错误的解决方法
- Git出现error: Your local changes to the following files would be overwritten by merge: ... Please, commit your changes or stash them before you can merge.的问题解决(Git代码冲突)
- Git提交代码报错Git push error:src refspec XXX matches more than one解决方案
- git clone https://github.com/BVLC/caffe.git时出现错误error: RPC failed; curl 56 GnuTLS recv error (-54):
- 使用Git往github上提交代码时出现[packet_write_wait connection to xx.xx.xx.xx Broken pipe]错误的解决办法:
- git push失败 错误代码:error: RPC failed; result=56, HTTP code = 0
- 【Github】向github推送代码出现error: gnutls_handshake() failed GIT repository错误的解决方案
- 使用git往github上提交代码时出现[packet_write_wait connection to xx.xx.xx.xx Broken pipe]错误的解决办法
- 在android中使用proguard混淆代码出现“Conversion to Dalvik format failed with error 1”错误的解决方法
- android中使用代码混淆出现Conversion to Dalvik format failed with error 1错误的解决办法
- android中使用代码混淆出现Conversion to Dalvik format failed with error 1错误的解决办法