Skip to content

Instantly share code, notes, and snippets.

@wilr
Created March 9, 2014 22:24
Show Gist options
  • Save wilr/9455788 to your computer and use it in GitHub Desktop.
Save wilr/9455788 to your computer and use it in GitHub Desktop.
What Have I Changed? with several git repos in a project, this lists changes in all of them
#!/usr/bin/env bash
path=`pwd`
chil="/*/"
path=$path$chil
for i in $path; do
cd $i
if [ -d ".git" ]; then
echo -e "==> \033[1m$i\033[0m"
git status
echo ""
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment