https://github.com/arrrlo/lsbranch
List all directories with .git subdirectory and show current branch for each
https://github.com/arrrlo/lsbranch
git git-branch list-dir ls
Last synced: about 2 months ago
JSON representation
List all directories with .git subdirectory and show current branch for each
- Host: GitHub
- URL: https://github.com/arrrlo/lsbranch
- Owner: arrrlo
- License: mit
- Created: 2016-03-02T10:12:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-05-09T07:18:29.000Z (about 8 years ago)
- Last Synced: 2026-04-03T15:56:43.710Z (3 months ago)
- Topics: git, git-branch, list-dir, ls
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
lsbranch
[](https://badge.fury.io/py/lsbranch)
List all directories with .git subdirectory and show current branch for each.
Instalation
```
pip install lsbranch
```
CLI Usage
```bash
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:
```bash
> lsbranch -r -p .
```
Let's say you just want to list all git dirs in current dir, not recursively:
```bash
> lsbranch
```