summaryrefslogtreecommitdiff
path: root/gitStatusAll
diff options
context:
space:
mode:
Diffstat (limited to 'gitStatusAll')
-rwxr-xr-xgitStatusAll12
1 files changed, 12 insertions, 0 deletions
diff --git a/gitStatusAll b/gitStatusAll
new file mode 100755
index 0000000..a3d9de6
--- /dev/null
+++ b/gitStatusAll
@@ -0,0 +1,12 @@
+#!/bin/bash
+echo
+for dir in *; do
+ check=$(file $dir)
+ if [[ $check == *"directory"* ]]; then
+ cd $dir
+ echo $dir
+ git status
+ echo
+ cd ..
+ fi
+done