Skip to content

Instantly share code, notes, and snippets.

@dwelch2344
Last active February 14, 2022 17:58
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
#!/bin/bash
YELLOW='\033[0;33m'
NC='\033[0m' # No Color
for d in *hexly*/ ; do
if [[ ! -d "$d/.git" ]]; then
: # noop
else
cd $d
if [[ -n $(git status -s) ]]; then
echo -e "${YELLOW}$d${NC}"
git status --porcelain | sed 's/^/ /'
echo -e "\n"
fi
cd ..
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment