Find all git repos that have local changes that need pushing
find . -name .git | xargs -I % sh -c " git -C %/.. diff --exit-code > /dev/null || echo % "
Find all git repos that have local changes that need pushing
find . -name .git | xargs -I % sh -c " git -C %/.. diff --exit-code > /dev/null || echo % "