Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
"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