chore(bktemp):Shortened desc in bktemp-checkAppFileDir
[BK-2020-03.git] / user / bkgit-status
CommitLineData
0d22dfcd
SBS
1#!/bin/bash
2
3# Date: 2020-01-02T03:21Z
4
5# Description: A bash script to perform the `git-status` command on
6#all subdirectories within the working directory.
7
8# Source: https://gist.github.com/mzabriskie/6631607
9
10#for d in ./*/ ; do (cd "$d" && echo "========================" && pwd && git status); done
11
12for d in ./*/ ; do
13 (
14 cd "$d"
15 if [ -d ./.git ];
16 then
17 #echo "========================"
18 pwd
19 git status -s
20 else
21 echo "ERR:No .git dir: "$(pwd)
22 fi
23 );
24done