Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lsbranch-1.0.2.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

lsbranch-1.0.2-py2.py3-none-any.whl (4.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page