Skip to content

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

License

Notifications You must be signed in to change notification settings

arrrlo/lsbranch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages