gitls v0.1.0 - hello world
A fast, minimal CLI to inspect and act on multiple git repositories.
Features
- Recursively scans a directory for git repositories
- Displays branch, staged/modified/untracked file counts, ahead/behind remote, and relative last-commit time in a compact table
- Bulk branch switching across all clean repos with
-s <branch> - Color output, configurable scan depth, hidden directory support
- Skips
vendor/andnode_modules/automatically - Built on libgit2 — no shell spawning
Installation
Build from source
# macOS
brew install libgit2
# Debian / Ubuntu
sudo apt install libgit2-dev
# Fedora / RHEL
sudo dnf install libgit2-devel
git clone https://github.com/sven42xyz/gitools.git
cd gitools && make && sudo make install
Usage
gitls [OPTIONS] [DIRECTORY]
-s <branch> Switch all clean repos to <branch>
-d <n> Max search depth (default: 5)
-a Include hidden directories
--no-color Disable ANSI colours