- git status
- if ! git status | grep 'nothing to commit, working tree clean' >/dev/null; then
- read -r -p "Continue to git diff --cached and uncached? or you got something to add? C-c"
- #the --cached (aka --staged) is needed to see .gitinfo.log diffs
- (git wdiff --cached
- git wdiff) | colordiff | less -R