最近我将我的Git Bash更新到最新版本,现在当我试图将分支推送到远程服务器时,我收到一条错误消息:
$ git push --set-upstream origin bugs/purlin_support_reactions
Counting objects: 41, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (41/41), done.
Writing objects: 100% (41/41), 4.91 KiB | 0 bytes/s, done.
Total 41 (delta 33), reused 0 (delta 0)
remote: error: object directory /192.168.10.1/strengs/strengs_master.git/objects does not exist; check .git/objects/info/alternates.
remote: fatal: unresolved deltas left after unpacking
error: unpack failed: unpack-objects abnormal exit
To //192.168.10.1/strengs/strengs_master.git
! [remote rejected] bugs/purlin_support_reactions -> bugs/purlin_support_reactions (unpacker error)
Run Code Online (Sandbox Code Playgroud)
错误:未能将某些引用推送到'//192.168.10.1/strengs/strengs_master.git'
对象目录确实存在(已选中),check .git/objects/info/alternates不存在.在info中只有packs文件.
怎么可能出错?
Geo*_*rgi 10
所以总的来说.在git版本2.11.0.windows.1中如果您的起始目的地以\\ 192.168 ....或类似的方式开头,则由于某种原因而忽略第一个反斜杠(一种bug).解决方法 - 安装网络驱动器io \\ 192.168 ....
编辑:此问题必须通过升级到git v2.12.0来解决