Disk Space Issue

#1

My Disk Space is almost full, but when I run git prune; git gc in console, I get the following error:

error: couldn't write .git/logs/HEAD: No space left on device
error: couldn't write .git/logs/refs/heads/master: No space left on device
error: failed to run reflog

My project name is kakuhou-surgeon, but it is private so let me know if you need me to invite you. Thank you!

1 Like

#2

Hey @JMGbaum I’ve granted your project additional disk space for ~24 hours to give you the headroom to run the appropriate git commands. It looks like you’re writing to a sqlite file regularly and that’s filling up your git repo, so you may want to add that file to your .gitignore file.

echo 'database.sqlite' >> .gitignore

should do it. Then run your git commands and you should be back within space limits, and your git directory should grow more slowly.

Hope this helps!

2 Likes

#3

Thank you so much! I really appreciate the help!

2 Likes