the unpack error when I push my modification to the Gerrit

来源:互联网 发布:cf烟雾头软件 编辑:程序博客网 时间:2024/06/06 18:50

question

I want to push my code modification to the Gerrit for a code view but it failed because of the unpack error.

How to fix it

  • push with –no-thin:
git push --no-thin omnigerrit HEAD:refs/for/android-4.4
  • check whether the git and gerrit version is OK and suited.
  • switch branch and back:
    – Switch to another branch (e.g. develop).
    – Pull from the remote repository
    – Switch back to your new branch and push.
  • The local repository may be corrupted.To verify that the local repository is corrupted, you can clone your remote repository to another new directory and then push again. Running git repack might help in case the local repository is indeed corrupted.
  • Disk space in the server hosting Bitbucket Server is full.If disk space is indeed full for Bitbucket Server, clear them and push again.
  • If all of them can’t work ,please ask stack overflow for a help hand~
阅读全文
0 0