Skip to content

Instantly share code, notes, and snippets.

@dwelch2344
Last active February 14, 2022 17:58
Show Gist options
  • Save dwelch2344/94dcdcc7be5e03bf3688d9df06c854e7 to your computer and use it in GitHub Desktop.
Save dwelch2344/94dcdcc7be5e03bf3688d9df06c854e7 to your computer and use it in GitHub Desktop.
#!/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