Emacs, scripting and anything text oriented.
Kaushal Modi

Posts categorized in ‘git’ (2)

Optimize your .git

I was reviewing what was occupying the maximum disk space using the ncdu command line utility. One of the top candidates was the git clone of org-mode. It was using 2.4GB of my disk space!

Surprised by that, I started searching online if there was a way to optimize the cloned git repositories i.e. the .git/ directories. And sure enough, there was a way.