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
For anyone looking for a PowerShell solution:
(git diff --cached --numstat | Measure-Object -Line).Lines