我正在从分支到原点进行简单的git push,并收到以下错误。此分支不支持此功能,但是任何分支都不能推送(甚至是我创建的分支)。
Counting objects: 31, done. Delta compression using up to 8 threads. Compressing objects: 100% (13/13), done. Writing objects: 100% (31/31), 2.78 KiB | 7.00 KiB/s, done. Total 31 (delta 26), reused 20 (delta 15) remote: We noticed you're using an older version of Git. For the best experience, upgrade to a newer version. remote: Analyzing objects... (31/31) (26 ms) remote: Checking for credentials and other secrets... (1/4) error: remote unpack failed: error Object reference not set to an instance of an object. To https://microsoftit.visualstudio.com/defaultcollection/OneITVSO/_git/CSM-DIP-DAP-Others-AcquisitionFramework ! [remote rejected] users/pdamod/DenormalizedView -> users/pdamod/DenormalizedView (Object reference not set to an instance of an object.) error: failed to push some refs to 'https://microsoftit.visualstudio.com/defaultcollection/OneITVSO/_git/CSM-DIP-DAP-Others-AcquisitionFramework'
答案 0 :(得分:0)
远程解压缩失败:错误或您的本地存储库可能已损坏或服务器托管中的磁盘空间已满。
要检查本地存储库是否损坏,请首先将远程存储库克隆到新目录,然后再次推送。如果您的本地存储库已损坏,则运行 git repack 可能有助于破坏本地存储库。如果Stash的磁盘空间确实已满,请清除它们并再次推动。
答案 1 :(得分:0)
回购或权限没有问题。在我们的存储库中运行了一个自定义代码,这导致签入失败。