Andy Jarrett // Code. Develop. Manage.

unpacker error when pushing Git

Im using GIT more and more on my own personal projects but as a single developer commiting I don't get many issues.

Then I get a weird unpacker error
  $ git push origin masterCounting objects: 38, done.Delta compression using up to 2 threads.Compressing objects: 100% (20/20), done.Writing objects: 100% (20/20), 5.96 KiB, done.Total 20 (delta 15), reused 0 (delta 0) error: unpack-objects died of signalerror: unpack failed: unpack-objects abnormal exitTo /*******/*********/*******/***********.git ! [remote rejected] master -> master (n/a (unpacker error))

The fix is simple.

$git repack remote/origin/master

Find out more at the docs

I’m here, learning and working away. If you liked this content and want to keep me going, consider buying me a coffee.
Your support keeps this site running and the coffee brewing! ☕️