79634834

Date: 2025-05-23 04:25:07
Score: 8 🚩
Natty: 4.5
Report link

I also face the same problem on my windows 10 PC. I start using Git without knowing it's garbage collection system. I usually use git from git bash terminal, so i create commit push it to git hub create branch, rebase it and lot's of things. One day i open Git GUI provided with git bash. It says that i have 704 loos object need to compress it. If i say yes then it give error like "Deletion of directory '.git/objects/01' failed, should i try again?" if it try 100 times it still not able to delete it. Git GUI i bad in this situation, i need to restart the PC to stop it ( task manager can't close it). then inside git bash i call git gc (gc for garbage collection) it also give the same error except i am able to close the git bash program, which is good. Then i tried "git gc --prune=now --aggressive --force" command but nothing works. At the end i have to manually delete all the directory git gc failed to delete, which is very very painful. After completing all the deletion my .git/objects folder contain only 5 directory. This is how i solve it. If anyone have a better solution, please share it.

Reasons:
  • Blacklisted phrase (1): but nothing work
  • Blacklisted phrase (0.5): i need
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): I also face the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fakir Rifat Hasan