有时候,git提交代码时会出现这样的问题,remote unpack failed:error Missing commit xdsc252544555fds1fds5d45fds45sf,导致代码不能提交到远程。这种是git存在的一个bug,遇见了我们也不用紧张,以下办法能帮你解决这个问题。
git gc
git pull --rebase
git push
执行以上三个步骤,如下图,就可以轻轻松松搞定啦
有时候,git提交代码时会出现这样的问题,remote unpack failed:error Missing commit xdsc252544555fds1fds5d45fds45sf,导致代码不能提交到远程。这种是git存在的一个bug,遇见了我们也不用紧张,以下办法能帮你解决这个问题。
git gc
git pull --rebase
git push
执行以上三个步骤,如下图,就可以轻轻松松搞定啦