Git problem: error: unable to create temporary sha1 filename
15 Oct, 2009
1 minute read

I got git problem: error: unable to create temporary sha1 filename when pushing to a remote repository. The fix is rather easy.

On both your local and remote repositories perform the following magic:

git fsck
git prune
git repack
git fsck

The last fsck should not report any problems.

Continue reading...

Want to keep reading and learn more? I've got you
covered with a hand picked selection of awesome books.

See Ariejan's book recommendations »