I\'m trying to figure out how to easily count the files in my uncommitted index.
I\'ve tried:
git status | grep \'#\' | wc -l
but there
This worked for me:
git status | grep 'modified:' | wc -l
it returns a number