Skip to content

Instantly share code, notes, and snippets.

@achmadfatoni
Created August 25, 2016 09:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save achmadfatoni/2ba38342853fea1abb72d87789e34b5f to your computer and use it in GitHub Desktop.
Save achmadfatoni/2ba38342853fea1abb72d87789e34b5f to your computer and use it in GitHub Desktop.
Git status all git in current folder
for D in *; do
if [ -d "${D}" ]; then
echo "${D}" # your processing here
cd "${D}"
git status -s
cd ..
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment