Skip to content

Instantly share code, notes, and snippets.

@ladislas
Created November 20, 2019 14:22
Show Gist options
  • Save ladislas/610265dcde6803e8f2a3663ec3d7431b to your computer and use it in GitHub Desktop.
Save ladislas/610265dcde6803e8f2a3663ec3d7431b to your computer and use it in GitHub Desktop.
Check Git status
for f in *; do
cd $f
echo $f
if [ -n "$(git status --porcelain)" ]; then
echo "\n ⚠️ $f\n"
fi
cd ..
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment