Git file write error (No space left in device)

git

Solution

TLDR: run the command:

`git gc`

That worked for me despite the error seeming like it resides on the server.

Problem

I'm encountering this Git error while trying to push a local branch. I tried possible ways and followed a few SO posts, but they didn't help. remote: error: file write error (No space left on device) remote: fatal: unable to write sha1 file error: unpack failed: unpack-objects abnormal exit

Original source

Related problems