I want the version to manage my home directory in git.
I used ncduto find the largest directories, and build from there .gitignore, which I hope, eliminate the biggest and the most useless part of my home directory (eg .gem/, .cache/, .cabal/, tmp/).
After execution git add $HOME, how can I view the index / cache / staging area regarding disk usage?
Ideally, I'm behind something interactive, for example ncdu, where I can deploy to subdirectories.
source
share