Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@TomTasche
Last active December 16, 2015 09:39
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 TomTasche/5414857 to your computer and use it in GitHub Desktop.
Save TomTasche/5414857 to your computer and use it in GitHub Desktop.
"git status" for all folders in the current directory
#!/bin/bash
for dir in */;
do
clear;
echo $dir;
cd $dir;
git status;
cd ..;
read -p "Press [Enter] key to continue..."
done
clear;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment