note to self re: git unpacker error

when you get an unpacker error “unpack failed” and git is being RIDICULOUSLY CRYPTIC (as usual) about it’s error, try this.

git repack remote/origin/master

I’m sick of pulling my hair out over this.

2 comments

  1. Thanks! this totally solved my issue. You are awesome.

  2. I had the same problem, but it was caused by some files in the remote repo not belonging to the correct user. So, a recursive chown to the “git” user fixed the problem.

    Dave

Leave a comment