Categories
programming tips work

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 replies on “note to self re: git unpacker error”

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

Comments are closed.