Error: Unpack Failed: Unpack-objects Abnormal Exit

Still need help?

The Atlassian Community is here for you.

Ask the community


Trying to GIT push to remote repository gets to the following error (in command prompt/terminal)

error: unpack failed: unpack-objects abnormal exit
! [remote rejected] HEAD -> master (n/a (unpacker error))
error: failed to push some refs to ''


  1. Single user failed to push to remote repository. See #1 cause and resolution.
  2. Multiple users failed to push to remote repository. See #2 cause and resolution.



  1. The local repository may be corrupted. See #1 resolution.
  2. Disk space in the server hosting Bitbucket Server is full. See #2 resolution.



The following resolution shown are referring to the respective cause above.

  1. 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.
  2. If disk space is indeed full for Bitbucket Server, clear them and push again.
Last modified on Mar 30, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.