Skip to content

Instantly share code, notes, and snippets.

@ivan
Created June 14, 2018 01:38
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 ivan/5012a3bafd92ede2d71209ed1b033dae to your computer and use it in GitHub Desktop.
Save ivan/5012a3bafd92ede2d71209ed1b033dae to your computer and use it in GitHub Desktop.
all-git-status
#!/bin/bash
for i in */; do
echo
echo "======================" "$i" "======================"
env "GIT_WORK_TREE=$PWD/$i" "GIT_DIR=$PWD/$i/.git" git status
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment