# Check staged changes in minimal diff (just file names and changed lines)
# keeping coloring, less needs -R to pass colors
git diff --staged -U0 --color | grep -Pv '^(\e\[.{1,2}m)?(---|\+\+\+|index)' | less
# Note: None of these codes for ASCII ESC worked in GNU grep -E \e \x1b \033
- Scripts in the repository
vbrozik/vb-shell-tools