devroom.io/drafts/2009-10-15-git-problem-error-unable-to-create-temporary-sha1-filename.md
Ariejan de Vroom dbae98c4c0 Moar updates
2013-03-24 14:27:51 +01:00

554 B

title kind slug created_at tags
Git problem: error: unable to create temporary sha1 filename article git-problem-error-unable-to-create-temporary-sha1-filename 2009-10-15
git
prune
repack
fsck

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:

:::shell
git fsck
git prune
git repack
git fsck

The last fsck should not report any problems.