Skip to content

Instantly share code, notes, and snippets.

@tomquirk
Created July 5, 2016 07:00
Show Gist options
  • Save tomquirk/83c95cd802285877f25c59b47966fde8 to your computer and use it in GitHub Desktop.
Save tomquirk/83c95cd802285877f25c59b47966fde8 to your computer and use it in GitHub Desktop.
perform `git status` of all folders within current directory
#!/bin/bash
for i in $( ls );
do
printf "\n************\nPROJECT: $i\n\n"
DEV_ROOT=$PWD
cd $DEV_ROOT/$i
git status
cd $DEV_ROOT;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment