git

What is taking up so much space in my git repository?

This can be a common task, but I always forget the exact commands and have to go on an internet hunt if its not on the history of the machine I am using.

Two steps:

Find the biggest five blobs

In this case, blob  ceb7aaf4723990ba0007a1c018c414a338180a37  is the biggest, as it uses 187282/1024=183 KB

What file is this blob?

There we have it. Now, if we want to free the space, we can use git forget-blob

Author: nachoparker

Humbly sharing things that I find useful
[ github dockerhub ]

Leave a Reply

Your email address will not be published. Required fields are marked *