List all directories with .git subdirectory and show current branch for each.
pip install lsbranch
Usage: lsbranch [OPTIONS]
List all directories with .git subdirectory and show current branch for
each
Options:
-r, --recursive Recursive directory search
-p, --path PATH Path to search
--help Show this message and exit.
Let's say that you want to list all git dirs in current dir, recursively:
> lsbranch -r -p .
Let's say you just want to list all git dirs in current dir, not recursively:
> lsbranch