arrrlo / lsbranch

List all directories with .git subdirectory and show current branch for each

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lsbranch

PyPI version

List all directories with .git subdirectory and show current branch for each.

Instalation

pip install lsbranch

CLI Usage

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

About

List all directories with .git subdirectory and show current branch for each

License:MIT License


Languages

Language:Python 100.0%